Details
Description
The CLI2 group parser can skip an argument when you have more than one group
in a set of arguments. This is caused when the shared iterator over arguments
is passed to the GroupImpl.process method. The process method can pull more
than one argument from the iterator when the argument belongs to another group
but always does a single arguments.previous() on return.
I have worked out a patch that will fix most cases but the real fix may be to
process arguments in more than one passes. The first pass would burst
arguments and associate them with their groups. The argument list then needs
to be sorted by group/argument/ordinal and processed to set values, etc.