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!: value_name/value_names should not append
Instead they should behave like `default_value`/`default_values`. In implementingt this, I didn't see any reason to be using a `VecMap`. In fact, this helped simplify the code / make intent clearer. With this, we are also able to simplify the derive macro work from clap-rs#2633. Fixes clap-rs#2634 BREAKING CHANGE: `value_name`/`value_names` always overwrite, rather than append. We expect the impact to be minimal.
- Loading branch information
Showing
4 changed files
with
70 additions
and
90 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
Oops, something went wrong.