args4j icon indicating copy to clipboard operation
args4j copied to clipboard

Add a "silent" behavior about missing or extraneous options

Open SR-G opened this issue 12 years ago • 0 comments

Not an issue, rather another use case.

args4j works great for me, thanks for sharing this piece of code.

I just would need a CmdLineParser.parseArguments() method that goes to the end of the parsing (in order to set all the options that have been given in the args[] parameter, and to not stop on the first missing option) (i have indeed some dynamic use cases where options are provided on the command line but not yet known programmaticaly, so i'm willing to read only a few parameter at first step, then do other stuff, and then read the rest of the options).

Any chance having another exception behavior for this parseArguments() method ? Otherwise i could use an extend on my side overriding this method, but a few getter/setters are missing or are private.

SR-G avatar Apr 12 '13 08:04 SR-G