0
0
Fork 0

Fix help for --proxy

main
Philipp Hagemeister 2013-04-30 18:27:54 +02:00
parent b1d2ef9255
commit dbc50fdf82
2 changed files with 2 additions and 2 deletions

View File

@ -31,7 +31,7 @@ which means you can modify it, redistribute it or use it however you like.
is restricted to one domain is restricted to one domain
--list-extractors List all supported extractors and the URLs they --list-extractors List all supported extractors and the URLs they
would handle would handle
--proxy None Use the specified HTTP/HTTPS proxy --proxy URL Use the specified HTTP/HTTPS proxy
## Video Selection: ## Video Selection:
--playlist-start NUMBER playlist video to start at (default is 1) --playlist-start NUMBER playlist video to start at (default is 1)

View File

@ -146,7 +146,7 @@ def parseOpts(overrideArguments=None):
general.add_option('--list-extractors', general.add_option('--list-extractors',
action='store_true', dest='list_extractors', action='store_true', dest='list_extractors',
help='List all supported extractors and the URLs they would handle', default=False) 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) general.add_option('--test', action='store_true', dest='test', default=False, help=optparse.SUPPRESS_HELP)
selection.add_option('--playlist-start', selection.add_option('--playlist-start',