]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
limit-rate.d: clarify base unit
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 25 Jul 2021 22:49:07 +0000 (18:49 -0400)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 26 Jul 2021 14:03:27 +0000 (16:03 +0200)
Fixes #7439
Closes #7494

docs/cmdline-opts/limit-rate.d

index cb3a8607707bcb186eb2aaaaf6a15b1b718dd56c..66f5cdaac3e39ef4a8fcaa1ef1af4201a09266f1 100644 (file)
@@ -10,7 +10,8 @@ otherwise would be.
 
 The given speed is measured in bytes/second, unless a suffix is appended.
 Appending 'k' or 'K' will count the number as kilobytes, 'm' or 'M' makes it
-megabytes, while 'g' or 'G' makes it gigabytes. Examples: 200K, 3m and 1G.
+megabytes, while 'g' or 'G' makes it gigabytes. The suffixes (k, M, G, T, P)
+are 1024 based. For example 1k is 1024. Examples: 200K, 3m and 1G.
 
 If you also use the --speed-limit option, that option will take precedence and
 might cripple the rate-limiting slightly, to help keeping the speed-limit