Daniel Stenberg
209ffd7d8e
docs/cmdline: mark fail and fail-with-body as mutually exclusive
...
Reported-by: Andreas Sommer
Fixes #9221
Closes #9222
2022-08-02 17:08:21 +02:00
Daniel Stenberg
df45fd1794
docs/cmdline-opts: add copyright and license identifier to each file
...
gen.pl now insists on C: and SPDX-License-Identifier: fields to be
present in all files.
Closes #9002
2022-06-14 08:48:09 +02:00
Daniel Stenberg
68784d73c3
curl.1: provide examples for each option
...
The file format for each option now features a "Example:" header that
can provide one or more examples that get rendered appropriately in the
output. All options MUST have at least one example or gen.pl complains
at build-time.
This fix also does a few other minor format and consistency cleanups.
Closes #7654
2021-09-01 14:02:43 +02:00
Daniel Stenberg
4e53b9430c
man pages: remove trailing whitespaces
...
Extended test 1173 (via the manpage-syntax.pl script) to detect and warn
for them.
Ref: #7602
Reported-by: a1346054 on github
Closes #7604
2021-08-21 16:44:03 +02:00
Lucas Servén Marín
b08863822c
docs: fix typo in fail-with-body doc
...
This commit fixes a small typo in the documentation for the
--fail-with-body flag.
Closes https://github.com/curl/curl/pull/6977
2021-04-27 15:11:08 -04:00
Daniel Stenberg
8a964cb217
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
2021-02-11 08:35:27 +01:00