Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Options): using options with an = no longer parse args after the …
…trailing space as values Imagine two args, an options `-o` and a positionanl arg `<file>` where the option allows multiple values. Prior to this change the following (incorrect) parses were occurring: ``` $ prog -o=1 some.txt o = 1, file file = ``` This change stops parsing values at the space, only if the `=` was used. ``` $ prog -o=1 some.txt o = 1 file = some.txt ``` Multiple values are still supported via value delimiters ``` $ prog -o=1,2 some.txt o = 1, 2 file = some.txt ``` Relates to #546
- Loading branch information