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 73e7b0b..f44634b 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)