Out.println("jmanage [-username <username>] [-password <password>] " +
"[-verbose[=<level>]] [command] [command args]");
/* print short help for all commands */
Out.println();
Out.println("Commands:");
Table table = new Table(2);
Collection commandNames = CommandHandlerFactory.getCommandNames();
for (Object commandName1 : commandNames) {
String commandName = (String) commandName1;
CommandHandler handler =
CommandHandlerFactory.getHandler(commandName);
table.add(commandName, handler.getShortHelp());
}
table.print();
Out.println();
Out.println("Type \"help <command>\" for detailed command help.");
Out.println("[Important! : Any space within a command argument should be replaced with \"~\" character.]");
return true;
}