chore: prettify qvm-terminal output

This commit is contained in:
Ben Grande 2025-02-24 11:19:11 +01:00
parent cd67cad789
commit 3a0bc8080f
No known key found for this signature in database
GPG Key ID: 00C64E14F51F9E56

View File

@ -9,7 +9,7 @@ set -eu
me="${0##*/}"
msg(){
printf '%s\n' "${0##*/}: ${*}" >&2
printf '%s\n' "${*}" >&2
}
usage(){
@ -21,10 +21,10 @@ Examples:
The desktop application can be specified with environment variable:"
case "${me}" in
*-terminal)
msg " QVM_TERMINAL=xterm ${me} -u root <QUBE>"
msg " QVM_TERMINAL=xterm ${me} -u root <QUBE>" >&2
;;
*-file-manager)
msg " QVM_FILE_MANAGER=thunar ${me} -u root <QUBE>"
msg " QVM_FILE_MANAGER=thunar ${me} -u root <QUBE>" >&2
;;
*) ;;
esac