mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-12 10:47:54 +08:00
Merge pull request #13 from rg3/master
[options] Add --limit-rate alias for rate limiting option
This commit is contained in:
commit
7be94f8752
@ -395,8 +395,8 @@ def parseOpts(overrideArguments=None):
|
||||
|
||||
downloader = optparse.OptionGroup(parser, 'Download Options')
|
||||
downloader.add_option(
|
||||
'-r', '--rate-limit',
|
||||
dest='ratelimit', metavar='LIMIT',
|
||||
'-r', '--limit-rate', '--rate-limit',
|
||||
dest='ratelimit', metavar='RATE',
|
||||
help='Maximum download rate in bytes per second (e.g. 50K or 4.2M)')
|
||||
downloader.add_option(
|
||||
'-R', '--retries',
|
||||
|
Loading…
x
Reference in New Issue
Block a user