((WatchCommand) command).setPassword(commandArguments.getOptionValue("password"));
if (commandArguments.hasOption("port")) {
((WatchCommand) command).setPort(Integer.valueOf(commandArguments.getOptionValue("port")));
}
} else if (main.command.equals("convert")) {
command = new ConvertCommand(main);
Options options = new Options();
options.addOption(OptionBuilder.hasArg().withDescription("Original changelog").isRequired().create("src"));
options.addOption(OptionBuilder.hasArg().withDescription("Output changelog").isRequired().create("out"));
options.addOption(OptionBuilder.hasArg().withDescription("Classpath").create("classpath"));