cbeust/jcommander — Issue #85: Complain about unknown parameters
Author: kurmasz
Created: 2011-11-07 16:12:45+00:00
State: open

Suppose a program has only one parameter: --a
If I pass --b 34 as input, the parser will swallow --b and leave 34 in the list of remaining parameters.
Is this the expected behavior? Is there a way to tell the parser to complain about unrecognized parameters (e.g., --b)