mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 16:20:30 +01:00
Change metavar of "--sub-format" from LANG to FORMAT
This commit is contained in:
parent
346b5ce8fd
commit
c3ab8f866c
@ -200,7 +200,7 @@ def parseOpts(overrideArguments=None):
|
|||||||
action='store_true', dest='listsubtitles',
|
action='store_true', dest='listsubtitles',
|
||||||
help='lists all available subtitles for the video (currently youtube only)', default=False)
|
help='lists all available subtitles for the video (currently youtube only)', default=False)
|
||||||
video_format.add_option('--sub-format',
|
video_format.add_option('--sub-format',
|
||||||
action='store', dest='subtitlesformat', metavar='LANG',
|
action='store', dest='subtitlesformat', metavar='FORMAT',
|
||||||
help='subtitle format [srt/sbv] (default=srt) (currently youtube only)', default='srt')
|
help='subtitle format [srt/sbv] (default=srt) (currently youtube only)', default='srt')
|
||||||
video_format.add_option('--sub-lang', '--srt-lang',
|
video_format.add_option('--sub-lang', '--srt-lang',
|
||||||
action='store', dest='subtitleslang', metavar='LANG',
|
action='store', dest='subtitleslang', metavar='LANG',
|
||||||
|
Loading…
Reference in New Issue
Block a user