示例#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;
  }
示例#2
0
 @Override
 public void parseOptionalOptions(CommandLine cmd) throws Exception {
   super.parseOptionalOptions(cmd);
   alpha = CmdOptions.getDouble(CmdOptions.ALPHA, ParamAttrs.ALPHA, cmd);
 }