summaryrefslogtreecommitdiff
path: root/helpers/lh
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh')
-rwxr-xr-xhelpers/lh9
1 files changed, 8 insertions, 1 deletions
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)