Show help if name is blank

This commit is contained in:
Anthony Rose 2023-02-23 14:33:20 +00:00
parent aacef5c12a
commit e7c6bb789e

View file

@ -3,7 +3,7 @@ _acp_vm_root="$HOME/virt/images"
_acp_vm_session=qemu:///session
_acp_vm_name=$1
case "$_acp_vm_name" in
case "${_acp_vm_name:---help}" in
"--help" | -*)
echo "Usage: virtinst vmname --cdrom install.iso [other virt-install options]" >&2
exit 1