summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfunctions/man.sh2
-rwxr-xr-xhelpers/lh9
2 files changed, 9 insertions, 2 deletions
diff --git a/functions/man.sh b/functions/man.sh
index 1845af90c..c01cf1b5a 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
}
diff --git a/helpers/lh b/helpers/lh
index 73e7b0b93..f44634b5e 100755
--- a/helpers/lh
+++ b/helpers/lh
@@ -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)