Skip to content

Fix ErrDuplicateFlags when no env var parsing is requested#137

Closed
tgulacsi wants to merge 6 commits into
peterbourgon:mainfrom
UNO-SOFT:short-same-case
Closed

Fix ErrDuplicateFlags when no env var parsing is requested#137
tgulacsi wants to merge 6 commits into
peterbourgon:mainfrom
UNO-SOFT:short-same-case

Conversation

@tgulacsi

Copy link
Copy Markdown

Same cased short flags should be possible, but ErrDuplicateFlags is returned even when environment variable parsing is not requested.
Do not check for duplicate folds if no env var is requested.

Comment thread parse_test.go Outdated
Comment thread parse_test.go Outdated
Comment thread parse_test.go Outdated
Comment thread parse_test.go Outdated
It is enough.

Co-authored-by: ccoVeille <3875889+ccoVeille@users.noreply.github.com>
@peterbourgon

Copy link
Copy Markdown
Owner

I believe this should be fixed by #153 -- please re-open if that's not the case.

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.

3 participants