qvm-run-vm: translate --dispvm to modern @dispvm syntax

This commit is contained in:
Rusty Bird 2020-05-06 14:46:14 +00:00
parent 5c7d06b46e
commit ce3c1cfb7c
No known key found for this signature in database
GPG Key ID: 469D78F47AAF2ADF

View File

@ -45,7 +45,7 @@ VMNAME="$1"
shift shift
if [ "$VMNAME" = "--dispvm" ] ; then if [ "$VMNAME" = "--dispvm" ] ; then
VMNAME="\$dispvm" VMNAME="@dispvm"
elif [ "$VMNAME" = "" ] ; then elif [ "$VMNAME" = "" ] ; then
print_usage print_usage
exit 1 exit 1