* util/grub-install.in: Unify "option requires an argument" message

with similar messages in other files.
	* util/grub-mkconfig.in: Likewise.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-03-05 16:37:29 +01:00
parent b7308f90f5
commit d95862ef75
3 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2012-03-05 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install.in: Unify "option requires an argument" message
with similar messages in other files.
* util/grub-mkconfig.in: Likewise.
2012-03-05 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-set-default.in: Replace printf with gettext_printf (the

View file

@ -122,7 +122,7 @@ argument () {
shift
if test $# -eq 0; then
gettext_printf "%s: option requires an argument -- \`%s'" "$0" "$opt" 1>&2
gettext_printf "%s: option requires an argument -- \`%s'\n" "$0" "$opt" 1>&2
exit 1
fi
echo "$1"

View file

@ -66,7 +66,7 @@ argument () {
shift
if test $# -eq 0; then
gettext_printf "%s: option requires an argument -- \`%s'" "$0" "$opt" 1>&2
gettext_printf "%s: option requires an argument -- \`%s'\n" "$0" "$opt" 1>&2
exit 1
fi
echo $1