aboutsummaryrefslogtreecommitdiff
path: root/docs/cmdline-opts
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2017-03-31 15:59:07 -0400
committerJay Satiro <raysatiro@yahoo.com>2017-03-31 19:01:38 -0400
commit15b8c6795ae0c2355784049690229924c4a47737 (patch)
treeb9f4ace4f42789b21f6f6f37cc078e70bb36b4e9 /docs/cmdline-opts
parent76c21ed3fda20c55201c734a9d47af02ab7f6e46 (diff)
docs: Explain --fail-early does not imply --fail
Closes https://github.com/curl/curl/pull/1375
Diffstat (limited to 'docs/cmdline-opts')
-rw-r--r--docs/cmdline-opts/fail-early.d8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/cmdline-opts/fail-early.d b/docs/cmdline-opts/fail-early.d
index 4489b4fc4..1bfaab4f3 100644
--- a/docs/cmdline-opts/fail-early.d
+++ b/docs/cmdline-opts/fail-early.d
@@ -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.