diff options
-rwxr-xr-x | functions/man.sh | 2 | ||||
-rwxr-xr-x | helpers/lh | 9 |
2 files changed, 9 insertions, 2 deletions
diff --git a/functions/man.sh b/functions/man.sh index 1845af9..c01cf1b 100755 --- a/functions/man.sh +++ b/functions/man.sh @@ -11,7 +11,7 @@ Man () { if [ -x "$(which man 2>/dev/null)" ] then - man $(basename ${0}) + man lh_$(basename ${0}) exit 0 fi } @@ -19,7 +19,14 @@ USAGE="FIXME" case "${1}" in -h|--help) - Man + if [ -x "$(which man 2>/dev/null)" ] + then + man lh + exit 0 + else + ${0} --usage + exit 0 + fi ;; ""|-u|--usage) |