Don't use interpolation to print usage and help as it breaks newlines and tabs.

This commit is contained in:
Chris Lamb 2008-08-15 23:08:43 +01:00 committed by Daniel Baumann
parent 1a8e869265
commit 026a683b77
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