Skip to contentSkip to conversation

grub-mkconfig: Fix typo in --help output

PATCH In review Colin Watson 3 participants 3 messages Aug 23, 2019 – Sep 19, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 156655645176.3763.2912999334835138278.reportbug@server1.aaron-schaal.de

#1 lore raw

PATCH 1/1 grub-mkconfig: Fix typo in --help output

The short form of "--version" that grub-mkconfig accepts is "-V", not "-v".

Fixes Debian bug #935504.

---
 util/grub-mkconfig.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub-mkconfig.in +1 -1
index 9f477ff05..7660016b3 100644
@@ -59,7 +59,7 @@ usage () {
     echo
     print_option_help "-o, --output=$(gettext FILE)" "$(gettext "output generated config to FILE [default=stdout]")"
     print_option_help "-h, --help" "$(gettext "print this message and exit")"
-    print_option_help "-v, --version" "$(gettext "print the version information and exit")"
+    print_option_help "-V, --version" "$(gettext "print the version information and exit")"
     echo
     gettext "Report bugs to <[email protected]>."; echo
 }
Signature · 1 line
2.17.1
#2 lore raw

LGTM

Quoted 35 lines · On Fri, 23 Aug 2019, 13:02 Colin Watson, <[email protected]> wrote:

The short form of "--version" that grub-mkconfig accepts is "-V", not "-v".

Fixes Debian bug #935504.

---
 util/grub-mkconfig.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
util/grub-mkconfig.in +0 -0
index 9f477ff05..7660016b3 100644
@@ -59,7 +59,7 @@ usage () {
     echo
     print_option_help "-o, --output=$(gettext FILE)" "$(gettext "output

generated config to FILE [default=stdout]")"

     print_option_help "-h, --help" "$(gettext "print this message and

exit")"
- print_option_help "-v, --version" "$(gettext "print the version
information and exit")"
+ print_option_help "-V, --version" "$(gettext "print the version
information and exit")"
echo
gettext "Report bugs to <[email protected]>."; echo
}
--
2.17.1

_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel