Fix --help formatting.
* util/grub-mkconfig_lib.in (print_option_help): New function. (grub_fmt): Likewise. * util/grub-install.in: Use print_option_help and grub_fmt. * util/grub-kbdcomp.in: Likewise. * util/grub-mkconfig.in: Likewise. * util/grub-mknetdir.in: Likewise. * util/grub-mkrescue.in: Likewise. * util/grub-mkstandalone.in: Likewise. * util/grub-reboot.in: Likewise. * util/grub-set-default.in: Likewise. * util/powerpc/ieee1275/grub-mkrescue.in: Likewise.
This commit is contained in:
parent
561ec77e2d
commit
9f9d3f69f4
11 changed files with 136 additions and 59 deletions
|
@ -26,9 +26,9 @@ usage () {
|
|||
gettext_printf "Usage: %s -o OUTPUT CKBMAP_ARGUMENTS...\n" "$self"
|
||||
gettext "Make GRUB keyboard layout file."; echo
|
||||
echo
|
||||
printf " -h, --help %s\n" "$(gettext "print this message and exit")"
|
||||
printf " -v, --version %s\n" "$(gettext "print the version information and exit")"
|
||||
printf " -o, --output=%-11s%s\n" "$(gettext FILE)" "$(gettext "save output in FILE [required]")"
|
||||
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 "-o, --output=$(gettext FILE)" "$(gettext "save output in FILE [required]")"
|
||||
echo
|
||||
gettext_printf "%s generates a keyboard layout for GRUB using ckbcomp\n" "$self"
|
||||
echo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue