Updating Man function to work with lh as wrapper.
This commit is contained in:
parent
a83218fe70
commit
684e14653f
|
@ -11,7 +11,7 @@ Man ()
|
||||||
{
|
{
|
||||||
if [ -x "$(which man 2>/dev/null)" ]
|
if [ -x "$(which man 2>/dev/null)" ]
|
||||||
then
|
then
|
||||||
man $(basename ${0})
|
man lh_$(basename ${0})
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,7 +19,14 @@ USAGE="FIXME"
|
||||||
|
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
-h|--help)
|
-h|--help)
|
||||||
Man
|
if [ -x "$(which man 2>/dev/null)" ]
|
||||||
|
then
|
||||||
|
man lh
|
||||||
|
exit 0
|
||||||
|
else
|
||||||
|
${0} --usage
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
""|-u|--usage)
|
""|-u|--usage)
|
||||||
|
|
Loading…
Reference in New Issue