Fix misinterpretaion of -- in printf

This commit is contained in:
Filip Matzner 2017-08-07 23:47:36 +02:00
parent b7237ba897
commit 6c52936202

View File

@ -34,7 +34,7 @@ check_optional_args() {
case "$arg" in
--batch)
LAUNCH_ZSH_AFTER=0
printf "${BLUE}--batch:${NORMAL} zsh will not be started after installation\n"
printf "%s\n" "${BLUE}--batch:${NORMAL} zsh will not be started after installation"
;;
*)
printf "${YELLOW}Unrecognized argument: ${BLUE}${arg}${NORMAL}\n"