瀏覽代碼

[options] Clarify language tags

Sergey M․ 9 年之前
父節點
當前提交
1ca59daca9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      youtube_dl/options.py

+ 1 - 1
youtube_dl/options.py

@@ -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(