summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-07-05 17:34:03 +1000
committerDan McGee <dan@archlinux.org>2011-07-05 10:22:20 -0500
commitddb8617d96675c8009d2aa99d6cc47e002339a51 (patch)
tree6e53cae57e29ebde501b0ea7734c551f928ac7d8 /scripts
parent24324ff0e12a3e19cada669a4c5c391e486790a3 (diff)
downloadpacman-ddb8617d96675c8009d2aa99d6cc47e002339a51.tar.xz
parse_options: add missing newlines
Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/library/parse_options.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/library/parse_options.sh b/scripts/library/parse_options.sh
index 5ced2606..96222301 100644
--- a/scripts/library/parse_options.sh
+++ b/scripts/library/parse_options.sh
@@ -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