Don't use interpolation to print usage and help as it breaks newlines and tabs.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
parent
6ca117018e
commit
bdc4ff6457
|
@ -18,7 +18,7 @@ Help ()
|
||||||
|
|
||||||
if [ -n "${USAGE}" ]
|
if [ -n "${USAGE}" ]
|
||||||
then
|
then
|
||||||
Echo "%s" "${USAGE}"
|
Echo "${USAGE}"
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
Echo " %s [-h|--help]" "${PROGRAM}"
|
Echo " %s [-h|--help]" "${PROGRAM}"
|
||||||
|
@ -28,7 +28,7 @@ Help ()
|
||||||
|
|
||||||
if [ -n "${HELP}" ]
|
if [ -n "${HELP}" ]
|
||||||
then
|
then
|
||||||
Echo "%s" "${HELP}"
|
Echo "${HELP}"
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ Usage ()
|
||||||
|
|
||||||
if [ -n "${USAGE}" ]
|
if [ -n "${USAGE}" ]
|
||||||
then
|
then
|
||||||
Echo " %s" "${USAGE}"
|
Echo " ${USAGE}"
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue