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:
Chris Lamb 2008-08-15 23:08:43 +01:00
parent 6ca117018e
commit bdc4ff6457
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -18,7 +18,7 @@ Usage ()
if [ -n "${USAGE}" ]
then
Echo " %s" "${USAGE}"
Echo " ${USAGE}"
echo
fi