-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(MultipleValues): properly distinguishes between multiple values a…
…nd multiple occurrences When using number_of_values() or value_names() you no longer have to set .multiple(true) unless you want the argument to be allowed multiple times (i.e. *not* the value, but the argument itself). This means without multiple(true) set (and assuming 2 values) -o val1 val2 is only allowed one time, but with multiple(true) set, -o val1 val2 -o val3 val4 is allowed. Closes #99
- Loading branch information
Showing
2 changed files
with
80 additions
and
36 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