mirror of
https://github.com/curl/curl.git
synced 2026-08-25 16:33:38 +03:00
curl: add --fail-with-body
Prevent both --fail and --fail-with-body on the same command line. Verify with test 349, 360 and 361. Closes #6449
This commit is contained in:
parent
c386a0df44
commit
8a964cb217
13 changed files with 179 additions and 14 deletions
|
|
@ -268,6 +268,9 @@ static const struct helptxt helptext[] = {
|
|||
{" --fail-early",
|
||||
"Fail on first transfer error, do not continue",
|
||||
CURLHELP_CURL},
|
||||
{" --fail-with-body",
|
||||
"Fail on HTTP errors but save the body",
|
||||
CURLHELP_HTTP | CURLHELP_OUTPUT},
|
||||
{" --false-start",
|
||||
"Enable TLS False Start",
|
||||
CURLHELP_TLS},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue