//check configuration args
TerminalArgHandler dummyTerminalArgHandler = new TerminalArgHandler(cl.getPlugInLoader(), cl);
boolean argsRemain;
try{
do {
argsRemain = cl.processArg(true);
} while (argsRemain);
//Configuration check after first pass through command line
if (false == cl.isAllArgsRecognized()) {
throw new InvalidCommandLineException("Not all arguments were recognized:\n" + cl.toString());
}