ui = new CommandFileUserInterface(new File(args[i + 1]));
} else if (args[i].equals("-c") || args[i].equals("--commands")) {
Log.info("processing commands " + args[i + 1]);
ui = new CommandLineUserInterface(args[i + 1]);
} else if (args[i].equals("-t") || args[i].equals("--telnet")) {
ui = new TelnetUserInterface(Integer.parseInt(args[i + 1]));
}
}
boolean found = false;
if (!portname.equals("")) {