diff --git a/usr/bin/launch-terminal b/usr/bin/launch-terminal index 1f6a206..d2c7bf5 100755 --- a/usr/bin/launch-terminal +++ b/usr/bin/launch-terminal @@ -8,9 +8,15 @@ set -euo pipefail # Enable strict error handling LAUNCH_TERMINAL_SHELL=bash usage() { - echo "Usage: ${0##*/} [cmd]" - echo ' -s [shell] Change shell to [shell]' - echo ' -h This help' + echo "Usage: ${0##*/} [options] [command]" + echo + echo "Options:" + echo " -s [shell] Change shell to [shell] (default: bash)" + echo " -h Show this help message" + echo + echo "Example:" + echo " ${0##*/} -s zsh 'echo Hello, World!'" + echo " ${0##*/} -h" exit 1 }