Skip to content

Properly handle CaseInsensitiveEnumValues flag.#231

Merged
ericnewton76 merged 1 commit intocommandlineparser:masterfrom
niklaskarl:master
Aug 13, 2018
Merged

Properly handle CaseInsensitiveEnumValues flag.#231
ericnewton76 merged 1 commit intocommandlineparser:masterfrom
niklaskarl:master

Conversation

@niklaskarl
Copy link
Copy Markdown

This fixes #198.

It simply passes the value of the CaseInsensitiveEnumValues setting down to the InstanceChooser.Choose method. Previously the method used a constant value of false.

@ericnewton76
Copy link
Copy Markdown
Member

Can you add some tests for both false and true conditions, just for peace of mind :)

@ericnewton76 ericnewton76 added this to the 2.3.0 milestone May 11, 2018
@masters3d
Copy link
Copy Markdown

@niklaskarl What is the default now?

@masters3d
Copy link
Copy Markdown

@niklaskarl Do you need help adding the additional tests?

@ericnewton76 ericnewton76 merged commit ec0e51d into commandlineparser:master Aug 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enums are not case insensitive

4 participants