diff --git a/patches/utils/patch_header.sh b/patches/utils/patch_header.sh index b51e971d4c27def0caff99c68c5aba7f7b54551e..3ee4265e445abd2d91b7a449faec38dfef7257e2 100644 --- a/patches/utils/patch_header.sh +++ b/patches/utils/patch_header.sh @@ -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