summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-04-30 18:27:54 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-04-30 18:27:54 +0200
commitdbc50fdf82610abecc5fb9ab40817534f0dae972 (patch)
treeb9e89f591a98e64aa8426345925bd43cfb7d42e9
parentb1d2ef9255528040b61ac44324645e82a7416174 (diff)
downloadyoutube-dl-dbc50fdf82610abecc5fb9ab40817534f0dae972.tar.gz
youtube-dl-dbc50fdf82610abecc5fb9ab40817534f0dae972.tar.xz
youtube-dl-dbc50fdf82610abecc5fb9ab40817534f0dae972.zip
Fix help for --proxy
-rw-r--r--README.md2
-rw-r--r--youtube_dl/__init__.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 5e4c13dc7..7288f4dd3 100644
--- a/README.md
+++ b/README.md
@@ -31,7 +31,7 @@ which means you can modify it, redistribute it or use it however you like.
                                is restricted to one domain
     --list-extractors          List all supported extractors and the URLs they
                                would handle
-    --proxy None               Use the specified HTTP/HTTPS proxy
+    --proxy URL                Use the specified HTTP/HTTPS proxy
 
 ## Video Selection:
     --playlist-start NUMBER    playlist video to start at (default is 1)
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index a56da8e3d..27f36c6ad 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -146,7 +146,7 @@ def parseOpts(overrideArguments=None):
     general.add_option('--list-extractors',
             action='store_true', dest='list_extractors',
             help='List all supported extractors and the URLs they would handle', default=False)
-    general.add_option('--proxy', dest='proxy', default=None, help='Use the specified HTTP/HTTPS proxy')
+    general.add_option('--proxy', dest='proxy', default=None, help='Use the specified HTTP/HTTPS proxy', metavar='URL')
     general.add_option('--test', action='store_true', dest='test', default=False, help=optparse.SUPPRESS_HELP)
 
     selection.add_option('--playlist-start',