From d95862ef7587c288028b1c74ef2903543374f912 Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Mon, 5 Mar 2012 16:37:29 +0100 Subject: [PATCH] * util/grub-install.in: Unify "option requires an argument" message with similar messages in other files. * util/grub-mkconfig.in: Likewise. --- ChangeLog | 6 ++++++ util/grub-install.in | 2 +- util/grub-mkconfig.in | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) 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