Avoid leaking VM name in qvm-copy usage text
Do not display name of the qube in the usage text.
This commit is contained in:
parent
96d8914c83
commit
99f239ea9e
@ -24,7 +24,7 @@ set -e
|
|||||||
if [ $# -lt 2 ] ; then
|
if [ $# -lt 2 ] ; then
|
||||||
|
|
||||||
if [ "${0##*/}" = "qvm-move-to-vm" ] || [ "${0##*/}" = "qvm-copy-to-vm" ]; then
|
if [ "${0##*/}" = "qvm-move-to-vm" ] || [ "${0##*/}" = "qvm-copy-to-vm" ]; then
|
||||||
echo "usage: $0 [--without-progress] destination_vmname FILE [FILE ...]"
|
echo "usage: $0 [--without-progress] destination_qube_name FILE [FILE ...]"
|
||||||
else
|
else
|
||||||
echo "usage: $0 [--without-progress] FILE [FILE ...]"
|
echo "usage: $0 [--without-progress] FILE [FILE ...]"
|
||||||
fi
|
fi
|
||||||
@ -32,9 +32,9 @@ if [ $# -lt 2 ] ; then
|
|||||||
echo
|
echo
|
||||||
|
|
||||||
if [ "${0##*/}" = "qvm-move-to-vm" ] || [ "${0##*/}" = "qvm-move" ] ; then
|
if [ "${0##*/}" = "qvm-move-to-vm" ] || [ "${0##*/}" = "qvm-move" ] ; then
|
||||||
echo "Move FILE to ~/QubesIncoming/$(hostname)/ in the destination qube."
|
echo "Move FILE to ~/QubesIncoming/[THIS QUBE'S NAME]/ in the destination qube."
|
||||||
else
|
else
|
||||||
echo "Copy FILE to ~/QubesIncoming/$(hostname)/ in the destination qube."
|
echo "Copy FILE to ~/QubesIncoming/[THIS QUBE'S NAME]/ in the destination qube."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
Loading…
Reference in New Issue
Block a user