fix grub-mknetdir --help output
PATCH 1/1 fix grub-mknetdir --help output
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 <[email protected]>
--- util/grub-mknetdir.in | 1 - 1 file changed, 1 deletion(-)
util/grub-mknetdir.in +0 -1
@@ -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
Signature · 1 line
tg: (2cca311..) u/grub-mknetdir-gettext (depends on: master)
Go ahead
Quoted 30 lines · Andrey Borzenkov
Remove stray line. It
a) incorrect, because grub-mknetdir does not install grub on hard drive
b) causes --help to fail immediately due toUsage: grub-mknetdir [OPTION]
gettext: missing argumentsIt 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 <[email protected]>--- util/grub-mknetdir.in | 1 - 1 file changed, 1 deletion(-)util/grub-mknetdir.in +0
-1@@ -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