Skip to content

Clarify on manpage that -f and --fail-with-body are mutually exclusive #9221

@AndiDog

Description

@AndiDog

I did this

Added --fail-with-body to my "standard" command line curl -fsSL [...] and got curl: option --fail-with-body: is badly used here. That error message could be improved as well with the specific reason (for example by having something like a global errno variable, but containing the reason: lastArgumentParsingError = "bla bla"; return PARAM_BAD_USE;).

The man page reads This is an alternative option for -f, but does not clearly state which options are mutually exclusive.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions