From dbc50fdf82610abecc5fb9ab40817534f0dae972 Mon Sep 17 00:00:00 2001 From: Philipp Hagemeister Date: Tue, 30 Apr 2013 18:27:54 +0200 Subject: [PATCH] Fix help for --proxy --- README.md | 2 +- youtube_dl/__init__.py | 2 +- 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', -- 2.39.5