On Fri, Sep 05, 2008 at 03:45:11PM -0800, . . wrote:
> usage suggests portfile arg is optional, but ./newstartd debug does
> not start in debug, but prints 'usage'

I've decided to deprecate the documentation of this debug feature, as
anyone who is in serious need of it will be reading the source anyway.

Sat Sep  6 15:11:00 EST 2008  quozl at us.netrek.org
  * deprecate debug documentation in usage
diff -rN -u old-netrek-server/Vanilla/newstartd/newstartd.c new-netrek-server/Vanilla/newstartd/newstartd.c
--- old-netrek-server/Vanilla/newstartd/newstartd.c	2008-09-06 15:13:41.000000000 +1000
+++ new-netrek-server/Vanilla/newstartd/newstartd.c	2008-09-06 15:13:41.000000000 +1000
@@ -146,8 +146,10 @@
 
   /* if someone tries to ask for help, give 'em it */
   if (argc == 2 && argv[1][0] == '-') {
-    fprintf (stderr, "Usage: %s [portfile] [debug]\n", argv[0] );
-    fprintf (stderr, "Usage: %s stop\n", argv[0] );
+    fprintf(stderr, "Usage: %s [start|stop|reload]\n", argv[0]);
+    fprintf(stderr, "       start, begins listening for client connections\n");
+    fprintf(stderr, "       stop, stop listening for client connections\n");
+    fprintf(stderr, "       reload, read the port file after it is changed\n");
     exit (1);
   }
 

-- 
James Cameron    mailto:quozl at us.netrek.org     http://quozl.netrek.org/