cmdline-opts: expand the parallel explanations

Closes #13886
This commit is contained in:
Daniel Stenberg 2024-06-05 09:34:32 +02:00
parent 4a25812ee1
commit 6ceb23dc09
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 22 additions and 9 deletions

View file

@ -11,11 +11,22 @@ Scope: global
See-also:
- next
- verbose
- parallel-max
- parallel-immediate
Example:
- --parallel $URL -o file1 $URL -o file2
---
# `--parallel`
Makes curl perform its transfers in parallel as compared to the regular serial
manner.
Makes curl perform all transfers in parallel as compared to the regular serial
manner. Parallel transfer means that curl runs up to N concurrent transfers
simultaneously and if there are more than N transfers to handle, it starts new
ones when earlier transfers finish.
With parallel transfers, the progress meter output is different than when
doing serial transfers, as it then displays the transfer status for multiple
transfers in a single line.
The maximum amount of concurrent transfers is set with --parallel-max and it
defaults to 50.