qvm-{copy,move}-to-vm.kde: '-inputbox' -> '--inputbox'

Fixes #4200
This commit is contained in:
Rusty Bird 2018-08-11 08:47:23 +00:00
parent 80a8c573a2
commit 56a8b7da1d
No known key found for this signature in database
GPG Key ID: 469D78F47AAF2ADF
2 changed files with 2 additions and 2 deletions

View File

@ -20,7 +20,7 @@
# #
# #
if type kdialog 2> /dev/null; then if type kdialog 2> /dev/null; then
VM=$(kdialog -inputbox "Enter the VM name to send files to:") VM=$(kdialog --inputbox "Enter the VM name to send files to:")
if [ X$VM = X ] ; then exit 0 ; fi if [ X$VM = X ] ; then exit 0 ; fi
SIZE=$(du --apparent-size -c -- "$@" 2> /dev/null | tail -1 | cut -f 1) SIZE=$(du --apparent-size -c -- "$@" 2> /dev/null | tail -1 | cut -f 1)

View File

@ -20,7 +20,7 @@
# #
# #
if type kdialog 2> /dev/null; then if type kdialog 2> /dev/null; then
VM=$(kdialog -inputbox "Enter the VM name to send files to:") VM=$(kdialog --inputbox "Enter the VM name to send files to:")
if [ X$VM = X ] ; then exit 0 ; fi if [ X$VM = X ] ; then exit 0 ; fi
SIZE=$(du --apparent-size -c -- "$@" 2> /dev/null | tail -1 | cut -f 1) SIZE=$(du --apparent-size -c -- "$@" 2> /dev/null | tail -1 | cut -f 1)