diff --git a/ChangeLog b/ChangeLog index cc2cc2580..f8bbce3d8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2012-03-05 Vladimir Serbinenko + + * 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 * util/grub-set-default.in: Replace printf with gettext_printf (the diff --git a/util/grub-install.in b/util/grub-install.in index adf76b4b9..e9d5c3609 100644 --- a/util/grub-install.in +++ b/util/grub-install.in @@ -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" diff --git a/util/grub-mkconfig.in b/util/grub-mkconfig.in index 45aa916d2..df3b7330a 100644 --- a/util/grub-mkconfig.in +++ b/util/grub-mkconfig.in @@ -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