mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-22 16:06:49 +00:00
Merge 2d847a3cd5
into d55d1f423d
This commit is contained in:
commit
1090fcf25f
@ -118,7 +118,7 @@ def parseOpts(overrideArguments=None):
|
|||||||
fmt.format_option_strings = _format_option_string
|
fmt.format_option_strings = _format_option_string
|
||||||
|
|
||||||
kw = {
|
kw = {
|
||||||
'version': __version__,
|
'version': 'youtube-dl '+__version__,
|
||||||
'formatter': fmt,
|
'formatter': fmt,
|
||||||
'usage': '%prog [OPTIONS] URL [URL...]',
|
'usage': '%prog [OPTIONS] URL [URL...]',
|
||||||
'conflict_handler': 'resolve',
|
'conflict_handler': 'resolve',
|
||||||
@ -132,7 +132,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(
|
||||||
'--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(
|
||||||
|
Loading…
Reference in New Issue
Block a user