/** * Return a CommandModel that only includes the --help option. */ private CommandModel helpModel() { CommandModelData cm = new CommandModelData(name); cm.add(new ParamModelData("help", boolean.class, true, "false", "?")); return cm; }
/** * Return a CommandModel that only includes the --help option. */ private CommandModel helpModel() { CommandModelData cm = new CommandModelData(name); cm.add(new ParamModelData("help", boolean.class, true, "false", "?")); return cm; }
cm.add(new ParamModelData("help", boolean.class, true, "false", "?")); this.commandModel = cm; rac.setCommandModel(cm);