jcommander icon indicating copy to clipboard operation
jcommander copied to clipboard

bad example for main_parameter

Open rzwitserloot opened this issue 7 years ago • 3 comments

Given that the type of 'debug' is Integer, the parameter needs a value, no?

alternative way to fix this is to change line 1375 into private boolean debug = false;

rzwitserloot avatar Jun 25 '18 13:06 rzwitserloot

Actually, in this example debug is not a flag to toggle debugging but setting the debug level. I agree that the example usage should include --debug 2.

ghost avatar Jul 08 '20 16:07 ghost

Thank you for your contribution! Can you please fix the conflicts and modify index.adoc accordingly? Thanks!

mkarg avatar Oct 03 '23 15:10 mkarg