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(derive): Switch default action/parser for unstable-v4 #3827

merged 5 commits into from Jun 14, 2022


Copy link

@epage epage commented Jun 13, 2022

This is meant to be one avenue to help people with #3822

With the new `ArgMatches`, we need to know what the inner type is.

Unfortunately, clap-rs#3142 didn't list use cases for this.  We dropped the
`Option` alias changing `T` but we still have a `Result` in there that
is aliased.

One potential workaround if people need it is if we add an attribute to
specify the `get_many::<T>` type.  This would also help with
`ArgAction::Count` to support more data types.
@epage epage merged commit 4001db6 into clap-rs:master Jun 14, 2022
20 checks passed
@epage epage deleted the unstable branch June 14, 2022 01:06
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