aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authoralphapapa <adam@alphapapa.net>2013-07-13 16:42:16 -0500
committeralphapapa <adam@alphapapa.net>2013-07-13 16:42:16 -0500
commit0025da15cf310a58ee8f124e395bc1bd52fab5c8 (patch)
treee68e5c4b367a475d235d04f181b5e6635230ff71 /youtube_dl
parentb9d3e1635fd2f5724452130bf2f05ea0112cd1ab (diff)
Clarify that download rate is in bytes per second
I found https://github.com/rg3/youtube-dl/commit/f918ec7ea29a37521d1fc22fb9f900283c5a2c49 but it is still not clear to anyone who hasn't read Issue #723 whether the limit is in bits or bytes. This is doubly confusing because 1) ISPs usually advertise speeds in bits per second, and 2) lowercase "k" and "m" are often used in correlation with bits rather than bytes.
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index db63d0adb..250cf62f8 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -208,7 +208,7 @@ def parseOpts(overrideArguments=None):
help='language of the subtitles to download (optional) use IETF language tags like \'en\'')
downloader.add_option('-r', '--rate-limit',
- dest='ratelimit', metavar='LIMIT', help='maximum download rate (e.g. 50k or 44.6m)')
+ dest='ratelimit', metavar='LIMIT', help='maximum download rate in bytes per second (e.g. 50k or 44.6m)')
downloader.add_option('-R', '--retries',
dest='retries', metavar='RETRIES', help='number of retries (default is %default)', default=10)
downloader.add_option('--buffer-size',