docs: Explain --fail-early does not imply --fail

Closes https://github.com/curl/curl/pull/1375
This commit is contained in:
Jay Satiro 2017-03-31 15:59:07 -04:00
parent 76c21ed3fd
commit 15b8c6795a
1 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,7 @@ Long: fail-early
Help: Fail on first transfer error, do not continue
Added: 7.52.0
---
Fail and exit on first detected error.
Fail and exit on the first detected transfer error.
When curl is used to do multiple transfers on the command line, it will
attempt to operate on each given URL, one by one. By default, it will ignore
@ -15,4 +15,8 @@ that fails, independent on the amount of more URLs that are given on the
command line. This way, no transfer failures go undetected by scripts and
similar.
This option will apply for all given URLs even if you use --next.
This option is global and does not need to be specified for each use of --next.
This option does not imply --fail, which causes transfers to fail due to the
server's HTTP status code. You can combine the two options, however note --fail
is not global and is therefore contained by --next.