public SubCommand(IDefinition definition,ResourceBundle rb,String name,List mandatoryOptions,List optionalOptions,List optionAliases,String implClassName,boolean webSupport,String deprecationWarning) throws CLIException {
  this.definition=definition;
  this.name=name;
  this.rb=rb;
  this.implClassName=implClassName;
  this.webSupport=webSupport;
  this.deprecationWarning=deprecationWarning;
  Set shortOptions=new HashSet();
  parseOptions(mandatoryOptions,this.mandatoryOptions,shortOptions);
  parseOptions(optionalOptions,this.optionalOptions,shortOptions);
  parseAliases(optionAliases);
}

public SubCommand ( IDefinition definition , ResourceBundle rb , String name , List mandatoryOptions , List optionalOptions , List optionAliases , String implClassName , boolean webSupport , String deprecationWarning ) throws CLIException { this . definition = definition ; this . name = name ; this . rb = rb ; this . implClassName = implClassName ; this . webSupport = webSupport ; this . deprecationWarning = deprecationWarning ; Set shortOptions = new HashSet ( ) ; parseOptions ( mandatoryOptions , this . mandatoryOptions , shortOptions ) ; parseOptions ( optionalOptions , this . optionalOptions , shortOptions ) ; parseAliases ( optionAliases ) ; }
creates a sub command object .
