Fix: Long-only flags would not take values
Before adoption: this commit came in with the history the project adopted, so no landing records it.
For '--longflag [value]', '--longflag' was being mistaken for the short option, and '[value]' as the long option. This patch fixes this by checking if the second flag argument starts with [ or < which indicates a value being expected.
authored by Felix Geisendörfer · committed by Felix Geisendörfer · parent d3deb36 · Browse files · 2 files+14 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
2 files+14 added−1 removed
- tests:+13 added−0 removed
- other:+1 added−1 removed