jcommander
jcommander copied to clipboard
bad example for main_parameter
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;
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.
Thank you for your contribution! Can you please fix the conflicts and modify index.adoc accordingly? Thanks!