1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-09 21:47:17 +08:00

[options] assign -V to --version to resolve conflict with --verbose

This commit is contained in:
nao20010128nao 2020-02-28 01:26:56 +00:00
parent bee6451fe8
commit e07b5e42d6
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ Alternatively, refer to the [developer instructions](#developer-instructions) fo
# OPTIONS # OPTIONS
-h, --help Print this help text and exit -h, --help Print this help text and exit
--version Print program version and exit -V, --version Print program version and exit
-U, --update Update this program to latest version. Make -U, --update Update this program to latest version. Make
sure that you have sufficient permissions sure that you have sufficient permissions
(run with sudo if needed) (run with sudo if needed)

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', '-V', '--version',
action='version', action='version',
help='Print program version and exit') help='Print program version and exit')
general.add_option( general.add_option(