]> git.ipfire.org Git - thirdparty/curl.git/commit
curl: add --fail-with-body
authorDaniel Stenberg <daniel@haxx.se>
Thu, 11 Feb 2021 07:30:39 +0000 (08:30 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 11 Feb 2021 07:35:27 +0000 (08:35 +0100)
commit8a964cb217b0cd84783da5ba32b18944fc43feb1
treed6201c16d66c0b3fd1d7496ecc9d046479792f5e
parentc386a0df441538ee4fbcf6e4bdac77abe5cc3e5d
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
13 files changed:
docs/cmdline-opts/Makefile.inc
docs/cmdline-opts/fail-with-body.d [new file with mode: 0644]
docs/cmdline-opts/fail.d
docs/options-in-versions
src/tool_cfgable.h
src/tool_getparam.c
src/tool_help.c
src/tool_operate.c
tests/data/Makefile.inc
tests/data/test24
tests/data/test349 [new file with mode: 0644]
tests/data/test360 [new file with mode: 0644]
tests/data/test361 [new file with mode: 0644]