Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
AndiDog opened this issue Jul 28, 2022 · 0 comments
Closed

Comments

@AndiDog
Copy link

AndiDog commented Jul 28, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants