Without this they tend to be interpreted as HOSTSPECs leading to
lossage.

Signed-off-by: Ian Jackson <ian.jack...@eu.citrix.com>
---
v2: New patch
---
 mg-repro-setup | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/mg-repro-setup b/mg-repro-setup
index 7f075f4e..dc6c5cbb 100755
--- a/mg-repro-setup
+++ b/mg-repro-setup
@@ -197,6 +197,10 @@ while [ $# -ne 0 ]; do
                 continue
                ;;
 
+        -*)
+                badusage ': misplaced option, expected REBUILD or HOSTSPEC'
+                ;;
+
        none:)
                # provided so we can repro a job with no hosts
                ;;
-- 
2.11.0


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

Reply via email to