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

@ -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 ;;