mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 09:01:43 +00:00
[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
This commit is contained in:
parent
197a5da1d0
commit
8ec2b2c41c
@ -395,8 +395,8 @@ def _hide_login_info(opts):
|
|||||||
|
|
||||||
downloader = optparse.OptionGroup(parser, 'Download Options')
|
downloader = optparse.OptionGroup(parser, 'Download Options')
|
||||||
downloader.add_option(
|
downloader.add_option(
|
||||||
'-r', '--rate-limit',
|
'-r', '--limit-rate', '--rate-limit',
|
||||||
dest='ratelimit', metavar='LIMIT',
|
dest='ratelimit', metavar='RATE',
|
||||||
help='Maximum download rate in bytes per second (e.g. 50K or 4.2M)')
|
help='Maximum download rate in bytes per second (e.g. 50K or 4.2M)')
|
||||||
downloader.add_option(
|
downloader.add_option(
|
||||||
'-R', '--retries',
|
'-R', '--retries',
|
||||||
|
Loading…
Reference in New Issue
Block a user