Skip to content

Conversation

ldm0
Copy link
Member

@ldm0 ldm0 commented Feb 16, 2021

Fixes #2229 Fixes #1374

Let num_vals and etc sets MultipleValues with MultipleOccurrences left untouched, which also removes a late setting hack.

@ldm0 ldm0 requested a review from pksunkara February 16, 2021 04:11
@pksunkara pksunkara merged commit 80cbc1e into clap-rs:master Feb 18, 2021
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.

number_of_values(n) incorrectly allows argument counts that are integer multiples of n Self override and multiple values don't interact well together
2 participants