add --help and -h on qvm-create-default-qvm

This commit is contained in:
Cyril LEVIS 2016-11-28 13:53:36 +01:00
parent 534c3a13f7
commit 1b12df379c

View File

@ -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