Example #1
0
  @Override
  public List<Option> getOptionalOptions() {
    List<Option> options = super.getOptionalOptions();
    options.add(
        new Option(null, CmdOptions.ALPHA, true, CmdOptions.getDescription(CmdOptions.ALPHA)));

    return options;
  }
Example #2
0
 @Override
 public void parseOptionalOptions(CommandLine cmd) throws Exception {
   super.parseOptionalOptions(cmd);
   alpha = CmdOptions.getDouble(CmdOptions.ALPHA, ParamAttrs.ALPHA, cmd);
 }