Clara icon indicating copy to clipboard operation
Clara copied to clipboard

ParseResultType is rarely handled properly

Open vogel opened this issue 7 years ago • 0 comments

Out of 4 values of ParseResultType, one is not used at all ShortCircuitSame and ShortCircuitAll is only possible for Options.

I tried to add and Arg with ShortCircuitAll to be able to implement subcommands, but it simply didn't work (as Arg::parse only returns Matched or failed values, no matter what valueRef->setValue returns).

vogel avatar Dec 18 '18 13:12 vogel