]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
Add alternative --prefer-unsecure spelling (Closes #2697)
authorPhilipp Hagemeister <phihag@phihag.de>
Fri, 4 Apr 2014 20:15:21 +0000 (22:15 +0200)
committerPhilipp Hagemeister <phihag@phihag.de>
Fri, 4 Apr 2014 20:15:21 +0000 (22:15 +0200)
youtube_dl/__init__.py

index 7c135db323fe0815c411f8bfb2cf7318f3547745..aba8b4537605ab822d9a44c5be9ee6efe56b356b 100644 (file)
@@ -242,7 +242,7 @@ def parseOpts(overrideArguments=None):
         help='Use the specified HTTP/HTTPS proxy. Pass in an empty string (--proxy "") for direct connection')
     general.add_option('--no-check-certificate', action='store_true', dest='no_check_certificate', default=False, help='Suppress HTTPS certificate validation.')
     general.add_option(
-        '--prefer-insecure', action='store_true', dest='prefer_insecure',
+        '--prefer-insecure', '--prefer-unsecure', action='store_true', dest='prefer_insecure',
         help='Use an unencrypted connection to retrieve information about the video. (Currently supported only for YouTube)')
     general.add_option(
         '--cache-dir', dest='cachedir', default=get_cachedir(), metavar='DIR',