{
out.println("> -----");
out.println("'user' syntax:");
if( args.size() > 0 ) {
String command = (String) args.remove(0);
IConsoleCommand cmd = subCommands.get(command);
if( cmd != null )
cmd.printHelp(out, args);
return;
}
out.println("user <command> <command options>");
out.println();
out.println("Available <command>s:");
for (Iterator iter = subCommands.iterator(); iter.hasNext();) {
IConsoleCommand cmd = (IConsoleCommand) iter.next();
out.println(cmd.getCommandDescriptions());
}
out.println("try 'help user <command>' for more information about a particular user command");
out.println("> -----");
}