Skip to content
Snippets Groups Projects
Unverified Commit 96310c75 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

fix problem with printf

parent c0542b35
No related branches found
No related tags found
No related merge requests found
......@@ -28,13 +28,13 @@ CMD_OPTIONS="options:\n\n-h, --help\n\tShow brief help.\n-l LOGIN_PATH, --login-
set -e
function _print_help() {
printf "$USAGE"
printf "$CMD_OPTIONS"
printf -- "$USAGE"
printf -- "$CMD_OPTIONS"
if [ -n "$PRINT_HELP" ]; then
printf -- "$PRINT_HELP"
fi
if [ -n "$1" ]; then
printf "$1"
printf -- "$1"
fi
}
while test $# -gt 0; do
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment