From a9303a9b44407198ba7d43895b23728581348e51 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Thu, 23 Feb 2023 14:33:20 +0000 Subject: [PATCH] Show help if name is blank --- roles/home-cli/files/virtinst.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/home-cli/files/virtinst.sh b/roles/home-cli/files/virtinst.sh index 459bcc1..af7656f 100755 --- a/roles/home-cli/files/virtinst.sh +++ b/roles/home-cli/files/virtinst.sh @@ -1,7 +1,7 @@ #!/bin/sh _acp_vm_root="$HOME/virt/images" _acp_vm_session=qemu:///session -_acp_vm_name=$1 +_acp_vm_name=${1:---help} case "$_acp_vm_name" in "--help" | -*)