Updating Man function to work with lh as wrapper.
This commit is contained in:
parent
117646f2bf
commit
7d7641e34e
|
@ -11,7 +11,7 @@ Man ()
|
|||
{
|
||||
if [ -x "$(which man 2>/dev/null)" ]
|
||||
then
|
||||
man $(basename ${0})
|
||||
man lh_$(basename ${0})
|
||||
exit 0
|
||||
fi
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue