- printf (" -h, --help\t\tGive this help list\n");
- printf (" -V, --version\t\tPrint program version\n");
- /* XXX: SAMPLE:
- printf (" -d, --display=DISPLAY\tX server to connect to");
- */
+ printf ("Options that are common to both client and server:\n");
+ puts ("");
+ printf (" -h HOST, --host=HOST\tHost to connect/bind to\n");
+ printf (" -p PORT, --port=PORT\tPort to connect/bind to\n");
+ printf (" --help\tGive this help list\n");
+ printf (" --version\tPrint program version\n");
+ puts ("");
+ printf ("Options that are specific to the server:\n");
+ puts ("");
+ printf (" --log-file=FILE\tFile to use for logging\n");