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}" ] 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

View File

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