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

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

merged 3 commits into from May 19, 2023


Copy link

@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
20 of 21 checks passed
@epage epage deleted the term2 branch May 19, 2023 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

1 participant