Change -v to -V for version of shell utils.

This commit is contained in:
Vladimir Serbinenko 2016-02-12 15:46:05 +01:00
parent 7c35f65aac
commit 6e1ace590a
4 changed files with 7 additions and 7 deletions

View file

@ -25,7 +25,7 @@ usage () {
gettext "Make GRUB keyboard layout file."; echo gettext "Make GRUB keyboard layout file."; echo
echo echo
print_option_help "-h, --help" "$(gettext "print this message and exit")" 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")"
print_option_help "-o, --output=$(gettext FILE)" "$(gettext "save output in FILE [required]")" print_option_help "-o, --output=$(gettext FILE)" "$(gettext "save output in FILE [required]")"
echo echo
gettext_printf "%s generates a keyboard layout for GRUB using ckbcomp\n" "$self" gettext_printf "%s generates a keyboard layout for GRUB using ckbcomp\n" "$self"
@ -54,7 +54,7 @@ do
-h | --help) -h | --help)
usage usage
exit 0 ;; exit 0 ;;
-v | --version) -V | --version)
echo "$self (${PACKAGE_NAME}) ${PACKAGE_VERSION}" echo "$self (${PACKAGE_NAME}) ${PACKAGE_VERSION}"
exit 0 ;; exit 0 ;;
-o | --output) -o | --output)

View file

@ -85,7 +85,7 @@ do
-h | --help) -h | --help)
usage usage
exit 0 ;; exit 0 ;;
-v | --version) -V | --version)
echo "$self (${PACKAGE_NAME}) ${PACKAGE_VERSION}" echo "$self (${PACKAGE_NAME}) ${PACKAGE_VERSION}"
exit 0 ;; exit 0 ;;
-o | --output) -o | --output)

View file

@ -47,7 +47,7 @@ usage () {
gettext_printf "Usage: %s [OPTION] MENU_ENTRY\n" "$self" gettext_printf "Usage: %s [OPTION] MENU_ENTRY\n" "$self"
gettext "Set the default boot menu entry for GRUB, for the next boot only."; echo gettext "Set the default boot menu entry for GRUB, for the next boot only."; echo
print_option_help "-h, --help" "$(gettext "print this message and exit")" 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")"
dirmsg="$(gettext_printf "expect GRUB images under the directory DIR/%s instead of the %s directory" "@grubdirname@" "$grubdir")" dirmsg="$(gettext_printf "expect GRUB images under the directory DIR/%s instead of the %s directory" "@grubdirname@" "$grubdir")"
print_option_help "--boot-directory=$(gettext "DIR")" "$dirmsg" print_option_help "--boot-directory=$(gettext "DIR")" "$dirmsg"
echo echo
@ -81,7 +81,7 @@ do
-h | --help) -h | --help)
usage usage
exit 0 ;; exit 0 ;;
-v | --version) -V | --version)
echo "$self (${PACKAGE_NAME}) ${PACKAGE_VERSION}" echo "$self (${PACKAGE_NAME}) ${PACKAGE_VERSION}"
exit 0 ;; exit 0 ;;

View file

@ -49,7 +49,7 @@ usage () {
gettext_printf "This requires setting GRUB_DEFAULT=saved in %s/default/grub.\n" "$sysconfdir" gettext_printf "This requires setting GRUB_DEFAULT=saved in %s/default/grub.\n" "$sysconfdir"
echo echo
print_option_help "-h, --help" "$(gettext "print this message and exit")" 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")"
dirmsg="$(gettext_printf "expect GRUB images under the directory DIR/%s instead of the %s directory" "@grubdirname@" "$grubdir")" dirmsg="$(gettext_printf "expect GRUB images under the directory DIR/%s instead of the %s directory" "@grubdirname@" "$grubdir")"
print_option_help "--boot-directory=$(gettext "DIR")" "$dirmsg" print_option_help "--boot-directory=$(gettext "DIR")" "$dirmsg"
echo echo
@ -79,7 +79,7 @@ do
-h | --help) -h | --help)
usage usage
exit 0 ;; exit 0 ;;
-v | --version) -V | --version)
echo "$self (${PACKAGE_NAME}) ${PACKAGE_VERSION}" echo "$self (${PACKAGE_NAME}) ${PACKAGE_VERSION}"
exit 0 ;; exit 0 ;;