Skip to content

Duplicate option displays wrong error message... #395

Open
@mgajda

Description

@mgajda

I have a parser accepting --request option, and when user accidentally uses it twice, the error message says:

Invalid option `--request'

It should probably report:

Duplicated option is not allowed `--request'

Otherwise user things that the option name is wrong.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions