private List<Cmd> cmds;
public Help(AAFcli aafcli, List<Cmd> cmds) {
- super(aafcli, "--help",
+ super(aafcli, "help",
new Param("-d (more details)", false),
new Param("command",false));
this.cmds = cmds;
}
@Override
- public int _exec( int _idx, final String ... args) throws CadiException, APIException, LocatorException {
- int idx = _idx;
+ public int _exec( int idxValue, final String ... args) throws CadiException, APIException, LocatorException {
+ int idx = idxValue;
boolean first = true;
StringBuilder sb = new StringBuilder("AAF Command Line Tool");
StringBuilder details;
c.build(sb,details);
if (details!=null) {
c.detailedHelp(4, sb);
- // multiChar(sb,80,'-',2);
}
}
}
}
@Override
- public void detailedHelp(int _indent, StringBuilder sb) {
- int indent = _indent;
+ public void detailedHelp(int indentValue, StringBuilder sb) {
+ int indent = indentValue;
detailLine(sb,indent,"To print main help, enter \"aafcli\" or \"aafcli --help \"");
detailLine(sb,indent,"To print narrow the help content, enter sub-entries after aafcli,");
detailLine(sb,indent+2,"i.e. \"aafcli perm\"");