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)!: Split on value delimiter after validating num_args #4025

Merged
merged 1 commit into from Aug 4, 2022

Conversation

epage
Copy link
Member

@epage epage commented Aug 4, 2022

This will allow num_args(0..=1).value_delimiter(',') to work properly.

This hacks in support for require_value_delimiter until we can remove
it.

This no longer recognzes value terminators in delimited lists.

It looks like there is a bug with recognizing value terminators in
positionals arguments. We'll need to dig into that more.

This is a part of #2688

This will allow `num_args(0..=1).value_delimiter(',')` to work properly.

This hacks in support for `require_value_delimiter` until we can remove
it.

This no longer recognzes value terminators in delimited lists.

It looks like there is a bug with recognizing value terminators in
positionals arguments.  We'll need to dig into that more.
@epage epage merged commit 5d1ec08 into clap-rs:master Aug 4, 2022
@epage epage deleted the trailing2 branch August 4, 2022 05:29
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.

None yet

1 participant