We are going to want to be able to specify daemons individually.

Replace the call to parse_only_suffix so that we have somewhere to
parse extra arguments.  No functional change yet.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
 mg-schema-test-database | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/mg-schema-test-database b/mg-schema-test-database
index 88a75cf..85cc050 100755
--- a/mg-schema-test-database
+++ b/mg-schema-test-database
@@ -557,7 +557,12 @@ END
 #========== DAEMONS ==========
 
 daemons)
-       parse_only_suffix "$@"
+       for arg in "$@"; do
+               case "$arg" in
+               _*)     suffix="$arg" ;;
+               *)      fail 'bad usage' ;;
+               esac
+       done
 
        dbname
 
-- 
2.1.4


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel

Reply via email to