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

[options] Remove shorthand for --version

This commit is contained in:
nao20010128nao 2020-02-28 10:06:11 +00:00
parent e07b5e42d6
commit 689d621b40
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
-V, --version Print program version and exit --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', '--version',
action='version', action='version',
help='Print program version and exit') help='Print program version and exit')
general.add_option( general.add_option(