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

docs: Encourage multiple_occurrences #2886

Merged
merged 1 commit into from
Oct 15, 2021
Merged

docs: Encourage multiple_occurrences #2886

merged 1 commit into from
Oct 15, 2021

Conversation

epage
Copy link
Member

@epage epage commented Oct 15, 2021

There were fewer occasions than I expected where the use of
multiple_values was superfluous and we could instead use the more
predictable multiple_occurrences

In terms of the remaining multiple split work, #1772 will take care of the derive
behavior and #2692 will resolve any remaining issues with values vs
occurrences in positional arguments.

Fixes #2816

There were fewer occasions than I expected where the use of
`multiple_values` was superfluous and we could instead use the more
predictable `multiple_occurrences`.

In terms of the remaining `multiple` split work, clap-rs#1772 will take care of the derive
behavior and clap-rs#2692 will resolve any remaining issues with values vs
occurrences in positional arguments.

Fixes clap-rs#2816
Copy link
Member

@pksunkara pksunkara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

Yeah because @ldm0 did a good job of it when working on it. I guess he didn't check yaml files. The changes in arg_matches are not really needed.

@bors
Copy link
Contributor

bors bot commented Oct 15, 2021

Build succeeded:

@bors bors bot merged commit f9208ae into clap-rs:master Oct 15, 2021
@epage epage deleted the occur branch October 15, 2021 19:16
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.

Verify we are communicating the right recommendations for multiple_values vs multiple_occurrenes
2 participants