Skip to content

Mutual exclusive option is not enforced (even when settings.MutuallyExclusive == true) #177

Closed
@ericnewton76

Description

@ericnewton76

Issue by jsmarsch
Wednesday Nov 01, 2017 at 23:15 GMT
Originally opened as gsscoder/commandline#498


I'm working with the stable build (1.9.71). I am trying to set up mutually exclusive options. I have set a mutual exclusion group, and given each option a different string. I also set the MutuallyExclusive option in the parser settings to true.

But, when I call parser.ParseArgumentsStrict(), it always returns true -- even if I specified the mutually exclusive options in the command line.

Is this a known bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions