]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[options] Add --load-info-json alias for symmetry with --write-info-json
authorSergey M․ <dstftw@gmail.com>
Sun, 5 Jun 2016 19:52:58 +0000 (02:52 +0700)
committerSergey M․ <dstftw@gmail.com>
Sun, 5 Jun 2016 19:52:58 +0000 (02:52 +0700)
youtube_dl/options.py

index 14051b7143d3003098d59b40362116447c156a3e..99ce4131fdfaacbbbca07805fbc86c8563ea95fe 100644 (file)
@@ -668,7 +668,7 @@ def parseOpts(overrideArguments=None):
         action='store_true', dest='writeannotations', default=False,
         help='Write video annotations to a .annotations.xml file')
     filesystem.add_option(
-        '--load-info',
+        '--load-info-json', '--load-info',
         dest='load_info_filename', metavar='FILE',
         help='JSON file containing the video information (created with the "--write-info-json" option)')
     filesystem.add_option(