help/usage: fix output of `lb config --usage`

broken by d0eb72a5ef

also, needed spaces before per-script output

Gbp-Dch: Ignore
This commit is contained in:
Lyndon Brown 2020-03-06 19:44:23 +00:00 committed by Luca Boccassi
parent 4e45586daf
commit bc199a73b6
2 changed files with 4 additions and 2 deletions

View File

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

View File

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