[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 parseOpts(overrideArguments=None):
action='help', action='help',
help='Print this help text and exit') help='Print this help text and exit')
general.add_option( general.add_option(
'-v', '--version', '--version',
action='version', action='version',
help='Print program version and exit') help='Print program version and exit')
general.add_option( general.add_option(