1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-28 03:45:50 +01:00

[options] Clarify language tags

This commit is contained in:
Sergey M․ 2016-01-23 01:50:06 +06:00
parent 594c4d79a5
commit 1ca59daca9

View File

@ -380,7 +380,7 @@ def parseOpts(overrideArguments=None):
'--sub-lang', '--sub-langs', '--srt-lang',
action='callback', dest='subtitleslangs', metavar='LANGS', type='str',
default=[], callback=_comma_separated_values_options_callback,
help='Languages of the subtitles to download (optional) separated by commas, use IETF language tags like \'en,pt\'')
help='Languages of the subtitles to download (optional) separated by commas, use --list-subs for available language tags')
downloader = optparse.OptionGroup(parser, 'Download Options')
downloader.add_option(