From 7d7641e34e1e19b5827eb3368bf26d6a8836cd6e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 9 Apr 2010 20:04:52 +0200 Subject: Updating Man function to work with lh as wrapper. --- helpers/lh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'helpers/lh') 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) -- cgit v1.2.3