[options] Remove duplicate short option -v for --version (#24162)

This commit is contained in:
The Hatsune Daishi 2020-02-29 18:33:09 +09:00 committed by GitHub
parent bee6451fe8
commit b76f0e58f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -134,7 +134,7 @@ def _comma_separated_values_options_callback(option, opt_str, value, parser):
action='help',
help='Print this help text and exit')
general.add_option(
'-v', '--version',
'--version',
action='version',
help='Print program version and exit')
general.add_option(