grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] fix grub-mknetdir --help output


From: Vladimir 'φ-coder/phcoder' Serbinenko
Subject: Re: [PATCH] fix grub-mknetdir --help output
Date: Fri, 12 Jul 2013 15:45:03 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Icedove/17.0.7

Go ahead
On 23.06.2013 07:30, Andrey Borzenkov wrote:
Remove stray line. It

a) incorrect, because grub-mknetdir does not install grub on hard drive
b) causes --help to fail immediately due to

Usage: grub-mknetdir [OPTION]
gettext: missing arguments

It was this way for quite some time, but became obvious only recently
when all utilities started to use "set -e" by default.

Signed-off-by: Andrey Borzenkov <address@hidden>

---
  util/grub-mknetdir.in | 1 -
  1 file changed, 1 deletion(-)

diff --git a/util/grub-mknetdir.in b/util/grub-mknetdir.in
index 97d4155..b7b59da 100644
--- a/util/grub-mknetdir.in
+++ b/util/grub-mknetdir.in
@@ -37,7 +37,6 @@ itanium_dir="${libdir}/@PACKAGE@/ia64-efi"
  # Print the usage.
  usage () {
      gettext_printf "Usage: %s [OPTION]\n" "$self"
-    gettext; echo "Install GRUB on your drive."; echo
      echo
      print_option_help "-h, --help" "$(gettext "print this message and exit")"
      grub_print_install_files_help





reply via email to

[Prev in Thread] Current Thread [Next in Thread]