-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use better method to imply clap arguments.
As shown in <clap-rs/clap#4713>, instead of `ArgPredicate::IsPresent` to detect `--basis-current`, it should be `ArgPredicate::Equals("true".into())`. This allows arbitrary ordering of clap arguments so that help text can be ordered as desired.
- Loading branch information
1 parent
aec3b3a
commit 86ddc07
Showing
2 changed files
with
7 additions
and
7 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