Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Duplicates #4

Merged
merged 1 commit into from
Jan 30, 2019
Merged

Allow Duplicates #4

merged 1 commit into from
Jan 30, 2019

Conversation

russjones
Copy link

Purpose

Allow duplicate flags. Useful when wanting to print useful error messages telling the user the correct position of the flag.

Implementation

Added AllowDuplicate to FlagClause. When this is attached to a flag, it will be skipped over when checking for duplicates.

@russjones russjones merged commit 742f271 into master Jan 30, 2019
@russjones russjones deleted the rjones/allow-dups branch January 30, 2019 01:31
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.

2 participants