summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfunctions/help.sh3
-rwxr-xr-xfunctions/usage.sh3
2 files changed, 4 insertions, 2 deletions
diff --git a/functions/help.sh b/functions/help.sh
index 78fa24b60..35051ab1f 100755
--- a/functions/help.sh
+++ b/functions/help.sh
@@ -15,7 +15,8 @@ Help ()
if [ -n "${USAGE}" ]
then
- printf "%s\n" "${USAGE}"
+ # printf without placeholder required here for correct \t and \n formatting of `lb config --usage`
+ printf " ${USAGE}\n"
fi
printf " %s [-h|--help]\n" "${PROGRAM}"
printf " %s [-u|--usage]\n" "${PROGRAM}"
diff --git a/functions/usage.sh b/functions/usage.sh
index 8e970ca44..06ad72132 100755
--- a/functions/usage.sh
+++ b/functions/usage.sh
@@ -15,7 +15,8 @@ Usage ()
if [ -n "${USAGE}" ]
then
- printf " %s\n" "${USAGE}"
+ # printf without placeholder required here for correct \t and \n formatting of `lb config --usage`
+ printf " ${USAGE}\n"
fi
printf " %s [-h|--help]\n" "${PROGRAM}"