summaryrefslogtreecommitdiff
path: root/jh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'jh.sh')
-rw-r--r--jh.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/jh.sh b/jh.sh
index 7dfe3c5..6ba8237 100644
--- a/jh.sh
+++ b/jh.sh
@@ -11,6 +11,7 @@ fi
usage() {
cmd="${1-$0}"
+ cmd="${cmd##*/}"
file="$JH_PATH/jh-$cmd.help.txt"
if [[ -z "$cmd" ]]; then
echo "Usage: $jh_short <command> [command-specific-arguments]"