From: Daniel Stenberg Date: Thu, 28 Jul 2022 19:02:45 +0000 (+0200) Subject: docs/cmdline: mark fail and fail-with-body as mutually exclusive X-Git-Tag: curl-7_85_0~111 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=209ffd7d8e33d9b07067f216110ccbce92ab873f;p=thirdparty%2Fcurl.git docs/cmdline: mark fail and fail-with-body as mutually exclusive Reported-by: Andreas Sommer Fixes #9221 Closes #9222 --- diff --git a/docs/cmdline-opts/fail-with-body.d b/docs/cmdline-opts/fail-with-body.d index ff562b1eee..c77fb9814a 100644 --- a/docs/cmdline-opts/fail-with-body.d +++ b/docs/cmdline-opts/fail-with-body.d @@ -6,6 +6,7 @@ Help: Fail on HTTP errors but save the body Category: http output Added: 7.76.0 See-also: fail +Mutexed: fail Example: --fail-with-body $URL --- Return an error on server errors where the HTTP response code is 400 or diff --git a/docs/cmdline-opts/fail.d b/docs/cmdline-opts/fail.d index b9ed63f5b5..d378697526 100644 --- a/docs/cmdline-opts/fail.d +++ b/docs/cmdline-opts/fail.d @@ -7,6 +7,7 @@ Help: Fail fast with no output on HTTP errors See-also: fail-with-body Category: important http Example: --fail $URL +Mutexed: fail-with-body Added: 4.0 --- Fail fast with no output at all on server errors. This is useful to enable