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: ArgRequiredElseHep is viable alt to SubcommandRequiredElseHelp #3456

Merged
merged 6 commits into from Feb 11, 2022

Conversation

epage
Copy link
Member

@epage epage commented Feb 11, 2022

#3280 will see us switch the derive to ArgRequiredElseHep. This prepares the way by resolving some lingering issues with it. Now, there is little value in offering SubcommandRequiredElseHelp, so we also deprecate it.

Now that we can use `SubcommandRequired |
ArgRequiredElseHelp`, this setting offers little value but requires we
track required subcommands with two different settings.  Deprecating as
the cost is not worth the benefit anymore.

Issue clap-rs#3280 will see the derive updated
@epage
Copy link
Member Author

epage commented Feb 11, 2022

I decided to hold off on updating the derive (see #3455). I'm torn on whether it qualifies for a compatibility note or would be considered a breaking change.

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