Hi to all, I was trying to use your library to parse the arguments passed from the command line and I have 2 questions/1 observation: why the Option doesn't have a default value but the default value is handled by the CommandLine? Currently you have to use CommandLine.getValue(defaultValue) but this has one big limitation to me, i.e. you can't print the default value in the help (assuming to use HelpFormatter). Am I wrong? I think that also the code would benefit from moving the default value in the Option (since you better separate the concerns). for example:
public static Option getDatalinksJobIdOption() { return Option.builder("someOpt") .argName("my-opt") .type(String.class) .hasArg(true) .desc("Some help") -defaultValue("XX") .build(); } What do you think? Best, Flavio