You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Clarify on manpage that -f and --fail-with-body are mutually exclusive #9221
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.
Activity
docs/cmdline: mark fail and fail-with-body as mutually exclusive