Browse Source

[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
master
Sergey M․ 8 years ago
parent
commit
8ec2b2c41c
No known key found for this signature in database GPG Key ID: 2C393E0F18A9236D
1 changed files with 2 additions and 2 deletions
  1. 4
      youtube_dl/options.py

4
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',

Loading…
Cancel
Save