public static void usage() { String usage = ("\nusage: vncviewer [options/parameters] " + "[host:displayNum] [options/parameters]\n" + " vncviewer [options/parameters] -listen [port] " + "[options/parameters]\n" + "\n" + "Options:\n" + " -log <level> configure logging level\n" + "\n" + "Parameters can be turned on with -<param> or off with " + "-<param>=0\n" + "Parameters which take a value can be specified as " + "-<param> <value>\n" + "Other valid forms are <param>=<value> -<param>=<value> " + "--<param>=<value>\n" + "Parameter names are case-insensitive. The parameters " + "are:\n\n" + Configuration.listParams()); System.err.print(usage); System.exit(1); }