mirror of
https://github.com/curl/curl.git
synced 2025-01-12 13:55:11 +08:00
68784d73c3
The file format for each option now features a "Example:" header that can provide one or more examples that get rendered appropriately in the output. All options MUST have at least one example or gen.pl complains at build-time. This fix also does a few other minor format and consistency cleanups. Closes #7654
16 lines
571 B
D
16 lines
571 B
D
Long: speed-time
|
|
Short: y
|
|
Arg: <seconds>
|
|
Help: Trigger 'speed-limit' abort after this time
|
|
Category: connection
|
|
Example: --speed-limit 300 --speed-time 10 $URL
|
|
---
|
|
If a download is slower than speed-limit bytes per second during a speed-time
|
|
period, the download gets aborted. If speed-time is used, the default
|
|
speed-limit will be 1 unless set with --speed-limit.
|
|
|
|
This option controls transfers and thus will not affect slow connects etc. If
|
|
this is a concern for you, try the --connect-timeout option.
|
|
|
|
If this option is used several times, the last one will be used.
|