
6 Jul
2012
6 Jul
'12
9:36 a.m.
Olaf Meeuwissen writes:
Interspersed options/arguments are unregistered, aren't they?
No, not necessarily. Consider foo --help foo target_program --help or (going full inception) foo foo --any-flag which is why
When the parser sees the first unregistered option it can just stop parsing.
isn't a good solution (though much better than the current state): parsing really needs to stop at the first *positional* argument, not at the first unrecognized option. Evan