Properly handle CaseInsensitiveEnumValues flag. by niklaskarl · Pull Request #231 · commandlineparser/commandline

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

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.

EdvardasDlugauskas, DerAlbertCom, muneeb456, mleenhardt, Pxtl, and masters3d reacted with thumbs up emoji

@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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

2.3.0

Development

Successfully merging this pull request may close these issues.

Enums are not case insensitive

4 participants

@niklaskarl @ericnewton76 @masters3d @niklas-karl-p3