summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2013-10-15 04:53:02 +0200
committerPhilipp Hagemeister <phihag@phihag.de>2013-10-15 04:53:02 +0200
commitcd054fc491198a5a7c69d76f19693b1cd4d5c086 (patch)
tree5ce0570bf796708ec4f50e7103fef9eb83a5265b
parentf219743e33a9a640bfc3845d74282774e51e1ad4 (diff)
downloadyoutube-dl-cd054fc491198a5a7c69d76f19693b1cd4d5c086.tar.gz
youtube-dl-cd054fc491198a5a7c69d76f19693b1cd4d5c086.tar.xz
youtube-dl-cd054fc491198a5a7c69d76f19693b1cd4d5c086.zip
Use upper-case for prefixes in help to signify bytes (#1043)
-rw-r--r--youtube_dl/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py
index 472ae9c0c..3efa5dfd1 100644
--- a/youtube_dl/__init__.py
+++ b/youtube_dl/__init__.py
@@ -267,11 +267,11 @@ def parseOpts(overrideArguments=None):
             help='languages of the subtitles to download (optional) separated by commas, use IETF language tags like \'en,pt\'')
 
     downloader.add_option('-r', '--rate-limit',
-            dest='ratelimit', metavar='LIMIT', help='maximum download rate in bytes per second (e.g. 50k or 44.6m)')
+            dest='ratelimit', metavar='LIMIT', help='maximum download rate in bytes per second (e.g. 50K or 4.2M)')
     downloader.add_option('-R', '--retries',
             dest='retries', metavar='RETRIES', help='number of retries (default is %default)', default=10)
     downloader.add_option('--buffer-size',
-            dest='buffersize', metavar='SIZE', help='size of download buffer (e.g. 1024 or 16k) (default is %default)', default="1024")
+            dest='buffersize', metavar='SIZE', help='size of download buffer (e.g. 1024 or 16K) (default is %default)', default="1024")
     downloader.add_option('--no-resize-buffer',
             action='store_true', dest='noresizebuffer',
             help='do not automatically adjust the buffer size. By default, the buffer size is automatically resized from an initial value of SIZE.', default=False)