From ddfbf73a5f675927f46da73a671a08a4f0545349 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 19 Oct 2012 23:40:46 -0400 Subject: jh: fix usage() --- jh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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-specific-arguments]" -- cgit v1.2.3-54-g00ecf