add --help and -h on qvm-create-default-qvm
This commit is contained in:
parent
534c3a13f7
commit
1b12df379c
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/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]'
|
echo 'Usage: qvm-create-default-dvm templatename|--default-template|--used-template [script-name|--default-script]'
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user