fix -h|--help component script man page redirection

the frontend handles -h|--help directly and correctly redirects to the
man page.

component scripts however fail to load the correct manpage because they
are being directed to `man <script>` instead of `man lb script`.

(affects the top level commands and major build stages which actually have
man pages; the low level components don't and so will always fail anyway).
This commit is contained in:
Lyndon Brown 2020-03-19 06:13:51 +00:00 committed by Luca Boccassi
parent 406accfab9
commit 0e090a65e3
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ Man ()
{
if [ $(which man) ]
then
man $(basename ${0})
man ${PROGRAM} $(basename ${0})
exit 0
fi
}