1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

parse_options: add missing newlines

Signed-off-by: Allan McRae <allan@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Allan McRae 2011-07-05 17:34:03 +10:00 committed by Dan McGee
parent 24324ff0e1
commit ddb8617d96

View File

@ -25,7 +25,7 @@ parse_options() {
shift
printf " '%s'" "$1"
else
printf "@SCRIPTNAME@: $(gettext "option %s requires an argument")" "'$1'" >&2
printf "@SCRIPTNAME@: $(gettext "option %s requires an argument\n")" "'$1'" >&2
ret=1
fi
fi
@ -50,7 +50,7 @@ parse_options() {
shift
printf " '%s'" "${1}"
else
printf "@SCRIPTNAME@: $(gettext "option %s requires an argument")" "'-${1:i:1}'" >&2
printf "@SCRIPTNAME@: $(gettext "option %s requires an argument\n")" "'-${1:i:1}'" >&2
ret=1
fi
fi