diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-05-30 21:48:35 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-05-30 21:48:35 +0700 |
commit | 8ec2b2c41c7f3952ad9097085993d1f24f6b6776 (patch) | |
tree | 33bf6d305e713e4876bc452d9ed1ee3e67a2c468 /youtube_dl | |
parent | 197a5da1d01179f6a2d60e3c2017b0070e5abc8b (diff) |
[options] Add --limit-rate alias for rate limiting option
Closes #9644
In order to follow regular --verb-noun pattern and better conformity with wget and curl
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/options.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/options.py b/youtube_dl/options.py index 38efd292d..14051b714 100644 --- a/youtube_dl/options.py +++ b/youtube_dl/options.py @@ -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', |