summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-10-19 23:40:46 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-10-19 23:40:46 -0400
commitddfbf73a5f675927f46da73a671a08a4f0545349 (patch)
tree6f056cfb189dd12442df7aef8f4db854d910db89
parent343fb3da70d2cf4b7a7d99a19e89591cea7cde7e (diff)
jh: fix usage()v0.3.2
-rw-r--r--jh.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/jh.sh b/jh.sh
index 6ba8237..6886e4a 100644
--- a/jh.sh
+++ b/jh.sh
@@ -11,7 +11,7 @@ fi
usage() {
cmd="${1-$0}"
- cmd="${cmd##*/}"
+ cmd="${cmd##*/jh-}"
file="$JH_PATH/jh-$cmd.help.txt"
if [[ -z "$cmd" ]]; then
echo "Usage: $jh_short <command> [command-specific-arguments]"