aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/limit-rate.d
diff options
context:
space:
mode:
authorGisle Vanem <gisle.vanem@gmail.com>2017-12-17 17:26:10 -0500
committerJay Satiro <raysatiro@yahoo.com>2017-12-26 02:01:48 -0500
commit859ac3602159ef3df77ac4cb1ae191b069ff1b5b (patch)
tree80eae8e7fa9d6505c16190422be22c5b8ce324df /docs/cmdline-opts/limit-rate.d
parentb399b04902c43f479b51b142505700edcfc34271 (diff)
tool_getparam: Support size modifiers for --max-filesize
- Move the size modifier detection code from limit-rate to its own function so that it can also be used with max-filesize. Size modifiers are the suffixes such as G (gigabyte), M (megabyte) etc. For example --max-filesize 1G Ref: https://curl.haxx.se/mail/archive-2017-12/0000.html Closes https://github.com/curl/curl/pull/2179
Diffstat (limited to 'docs/cmdline-opts/limit-rate.d')
-rw-r--r--docs/cmdline-opts/limit-rate.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/cmdline-opts/limit-rate.d b/docs/cmdline-opts/limit-rate.d
index 8784a84d3..06c456e3e 100644
--- a/docs/cmdline-opts/limit-rate.d
+++ b/docs/cmdline-opts/limit-rate.d
@@ -8,7 +8,7 @@ your transfer not to use your entire bandwidth. To make it slower than it
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
+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.
If you also use the --speed-limit option, that option will take precedence and