forked from clap-rs/clap
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(derive): Support SubcommandsNegateReqs
Before there was no way to make `SubcommandsNegateReqs` with `clap_derive` because it required a required field with a sentinel value for when the required part was negated. We blocked that. This turned out simpler than I expected. This came out of the discussion for clap-rs#2255 but that issue is more specifically about the panic, so not closing it.
- Loading branch information
Showing
2 changed files
with
39 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters