Show help if name is blank
This commit is contained in:
parent
aacef5c12a
commit
e7c6bb789e
1 changed files with 1 additions and 1 deletions
|
@ -3,7 +3,7 @@ _acp_vm_root="$HOME/virt/images"
|
||||||
_acp_vm_session=qemu:///session
|
_acp_vm_session=qemu:///session
|
||||||
_acp_vm_name=$1
|
_acp_vm_name=$1
|
||||||
|
|
||||||
case "$_acp_vm_name" in
|
case "${_acp_vm_name:---help}" in
|
||||||
"--help" | -*)
|
"--help" | -*)
|
||||||
echo "Usage: virtinst vmname --cdrom install.iso [other virt-install options]" >&2
|
echo "Usage: virtinst vmname --cdrom install.iso [other virt-install options]" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in a new issue