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
echo
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]")"
echo
gettext_printf "%s generates a keyboard layout for GRUB using ckbcomp\n" "$self"
@ -54,7 +54,7 @@ do
-h | --help)
usage
exit 0 ;;
-v | --version)
-V | --version)
echo "$self (${PACKAGE_NAME}) ${PACKAGE_VERSION}"
exit 0 ;;
-o | --output)

View File

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

View File

@ -47,7 +47,7 @@ usage () {
gettext_printf "Usage: %s [OPTION] MENU_ENTRY\n" "$self"
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 "-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")"
print_option_help "--boot-directory=$(gettext "DIR")" "$dirmsg"
echo
@ -81,7 +81,7 @@ do
-h | --help)
usage
exit 0 ;;
-v | --version)
-V | --version)
echo "$self (${PACKAGE_NAME}) ${PACKAGE_VERSION}"
exit 0 ;;

View File

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