1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-22 10:35:45 +08:00

Change metavar of "--sub-format" from LANG to FORMAT

This commit is contained in:
Jaime Marquínez Ferrándiz 2013-06-23 12:59:20 +02:00
parent 346b5ce8fd
commit c3ab8f866c

View File

@ -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',