mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 22:51:45 +00:00
[options] Clarify language tags
This commit is contained in:
parent
594c4d79a5
commit
1ca59daca9
@ -380,7 +380,7 @@ def parseOpts(overrideArguments=None):
|
|||||||
'--sub-lang', '--sub-langs', '--srt-lang',
|
'--sub-lang', '--sub-langs', '--srt-lang',
|
||||||
action='callback', dest='subtitleslangs', metavar='LANGS', type='str',
|
action='callback', dest='subtitleslangs', metavar='LANGS', type='str',
|
||||||
default=[], callback=_comma_separated_values_options_callback,
|
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 = optparse.OptionGroup(parser, 'Download Options')
|
||||||
downloader.add_option(
|
downloader.add_option(
|
||||||
|
Loading…
Reference in New Issue
Block a user