Updating Man function to work with lh as wrapper.

This commit is contained in:
Daniel Baumann 2010-04-09 20:04:52 +02:00
parent 117646f2bf
commit 7d7641e34e
2 changed files with 9 additions and 2 deletions

View File

@ -11,7 +11,7 @@ Man ()
{
if [ -x "$(which man 2>/dev/null)" ]
then
man $(basename ${0})
man lh_$(basename ${0})
exit 0
fi
}

View File

@ -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)