Skip to content
New issue

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

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

Already on GitHub? # to your account

fix(parser): Allow multiple value terminated positionals #4924

Merged
merged 3 commits into from
May 19, 2023

Conversation

epage
Copy link
Member

@epage epage commented May 19, 2023

While this doesn't directly address #4919, this fixes problems around it

  • One value terminated positional was allowed, but a second would hit asserts relate to last
  • The parser didn't correctly update the state when multiple were present (yet somehow it worked when followed by a single value)

@epage epage merged commit d5bea65 into clap-rs:master May 19, 2023
@epage epage deleted the term2 branch May 19, 2023 16:02
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant