-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Overrides Self): fixes a bug where options with multiple values c…
…ouldnt ever have multiple values Prior to this commit, an option with multiple values and that also overrode itself (either manually or via AppSettings::AllArgsOverrideSelf) could never have more than one value. This is fixed as options with multiple values now ignore the override of self. If one wants to have options with overrides of self, *and* multiple values you should set use_delimiter(false) and *not* set multiple(true). Then tell users to use a comma to seperate their values, i.e. `val1,val2`.
- Loading branch information
Showing
2 changed files
with
12 additions
and
12 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