From 1b12df379c858a98b360488662488e19814f1152 Mon Sep 17 00:00:00 2001 From: Cyril LEVIS Date: Mon, 28 Nov 2016 13:53:36 +0100 Subject: [PATCH] add --help and -h on qvm-create-default-qvm --- qvm-tools/qvm-create-default-dvm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qvm-tools/qvm-create-default-dvm b/qvm-tools/qvm-create-default-dvm index 5e90cb79..792ba888 100755 --- a/qvm-tools/qvm-create-default-dvm +++ b/qvm-tools/qvm-create-default-dvm @@ -1,5 +1,5 @@ #!/bin/sh -if [ $# != 1 -a $# != 2 ] ; then +if [ $# != 1 -a $# != 2 -o $1 == "--help" -o $1 == "-h" ] ; then echo 'Usage: qvm-create-default-dvm templatename|--default-template|--used-template [script-name|--default-script]' exit 1 fi