Open ekpdt opened 7 months ago
Feel free to contribute a PR including a test, but note that we must stay backwards compatible unless we move on to jCommander 2.x. OTOH I think we could safely say that it is a bug that MyValidator can see argtop. So I would rate your contribution as a bug fix, which we can include in 1.x.
@ekpdt Elan, still looking forward to receive your PR. Still working on it?
Take the following example:
When
MyValidator::validate
is invoked, it should only see entries forarg1
andarg2
, notargtop
. This would make it much easier to implement generic mutex groups. I think it would also be more intuitive.