summaryrefslogtreecommitdiff
path: root/functions/usage.sh
diff options
context:
space:
mode:
authorAntonio Terceiro <terceiro@softwarelivre.org>2009-01-15 10:24:40 -0300
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:39 +0100
commit473f5623b6fe4379aa2d845ee121dec06b9290be (patch)
tree356161df9d3fbb0df720a87453d5bdb2dedce4cd /functions/usage.sh
parent8a477ac3a9b215ed7b4a80a23b044892ac8e5d81 (diff)
downloadvyos-live-build-473f5623b6fe4379aa2d845ee121dec06b9290be.tar.gz
vyos-live-build-473f5623b6fe4379aa2d845ee121dec06b9290be.zip
Must be printf instead of echo!
Diffstat (limited to 'functions/usage.sh')
-rwxr-xr-xfunctions/usage.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/functions/usage.sh b/functions/usage.sh
index 9c3f53782..f1ef47d48 100755
--- a/functions/usage.sh
+++ b/functions/usage.sh
@@ -20,9 +20,9 @@ Usage ()
echo
fi
- echo " %s [-h|--help]" "${PROGRAM}"
- echo " %s [-u|--usage]" "${PROGRAM}"
- echo " %s [-v|--version]" "${PROGRAM}"
+ printf " %s [-h|--help]\n" "${PROGRAM}"
+ printf " %s [-u|--usage]\n" "${PROGRAM}"
+ printf " %s [-v|--version]\n" "${PROGRAM}"
echo
Echo "Try \" %s--help\" for more information." "${PROGRAM}"