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}" ]
|
||||
then
|
||||
Echo "%s" "${USAGE}"
|
||||
Echo "${USAGE}"
|
||||
echo
|
||||
fi
|
||||
Echo " %s [-h|--help]" "${PROGRAM}"
|
||||
|
@ -28,7 +28,7 @@ Help ()
|
|||
|
||||
if [ -n "${HELP}" ]
|
||||
then
|
||||
Echo "%s" "${HELP}"
|
||||
Echo "${HELP}"
|
||||
echo
|
||||
fi
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ Usage ()
|
|||
|
||||
if [ -n "${USAGE}" ]
|
||||
then
|
||||
Echo " %s" "${USAGE}"
|
||||
Echo " ${USAGE}"
|
||||
echo
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue