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(parser): Include required argument in message
When suggesting required arguments, we wanted to avoid an argument showing up in both a group and by itself but we didn't correctly calculate that, causing no required arguments to show up at times. Now, we all use the same pool of information for doing the calculations. This was the type of cleanup that I expected it to drop our binary size but this added 1k to our .text. Strange. Fixes clap-rs#4004
- Loading branch information
Showing
2 changed files
with
73 additions
and
57 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