Change metavar of "--sub-format" from LANG to FORMAT
authorJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 23 Jun 2013 10:59:20 +0000 (12:59 +0200)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Sun, 23 Jun 2013 10:59:20 +0000 (12:59 +0200)
youtube_dl/__init__.py

index 9279ce7769967b9b2df69a1d1c88d6b0701b6beb..32141439f6c26a1445462680713aa621f6bf8268 100644 (file)
@@ -200,7 +200,7 @@ def parseOpts(overrideArguments=None):
             action='store_true', dest='listsubtitles',
             help='lists all available subtitles for the video (currently youtube only)', default=False)
     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')
     video_format.add_option('--sub-lang', '--srt-lang',
             action='store', dest='subtitleslang', metavar='LANG',