Skip to content

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

Closed

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.

Activity

  1. added a commit that references this issue on Jul 28, 2022
    8047e7b
  2. self-assigned this
    on Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions