Markus Wiederkehr

Results 11 comments of Markus Wiederkehr

Ugly workaround: Write usage to a StringWriter before calling parseArgument(). CmdLineParser cmdLineParser = new CmdLineParser(this); StringWriter usage = new StringWriter(); cmdLineParser.printUsage(usage, null); try { cmdLineParser.parseArgument(args); } catch (CmdLineException e) {...

Proposed solution: save default values in OptionHandler constructor and use that saved value in OptionHandler.printDefaultValue(). private final List defaultValues; protected OptionHandler(CmdLineParser parser, OptionDef option, Setter

class PrintStream extends FilterOutputStream [ extends OutputStream ] This means that any PrintStream is also an OutputStream. Therefore any PrintStream can be used with parse(OutputStream out).

It turns out the issue is more complicated than I thought. One view alone works just fine but if you add a second view that depends on the location of...

When will this fix be released? I have tested with 2.1.0-beta02 and it still does not work.

@camaelon I believe this is not fixed, could you look into this issue again, please?