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:
parent
406accfab9
commit
0e090a65e3
|
@ -13,7 +13,7 @@ Man ()
|
||||||
{
|
{
|
||||||
if [ $(which man) ]
|
if [ $(which man) ]
|
||||||
then
|
then
|
||||||
man $(basename ${0})
|
man ${PROGRAM} $(basename ${0})
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue