]> andersk Git - splint.git/blobdiff - src/help.c
Fixed problem with NULL being changed.
[splint.git] / src / help.c
index 60f0324a0d407e16bf5c5101afad6452c5bec2da..d27602b80d1a7a78d09463e54f06e0840dbc3ae0 100644 (file)
@@ -1,6 +1,6 @@
 /*
 ** Splint - annotation-assisted static program checker
-** Copyright (C) 1994-2002 University of Virginia,
+** Copyright (C) 1994-2003 University of Virginia,
 **         Massachusetts Institute of Technology
 **
 ** This program is free software; you can redistribute it and/or modify it
@@ -29,7 +29,7 @@
 # include "basic.h"
 # include "help.h"
 # include "osd.h"
-# include "portab.h"
+# include "llmain.h"
 # include "version.h"
 
 static void
@@ -78,7 +78,7 @@ describeVars (void)
   llmsglit ("   --- path used to find #include'd files");
 
   llmsg (message 
-        ("systemdirs = %s (set by -systemdirs or environment variable %s)", /*@i413223@*/
+        ("systemdirs = %s (set by -systemdirs or environment variable %s)", 
          context_getString (FLG_SYSTEMDIRS),
          INCLUDEPATH_VAR));
 
@@ -286,17 +286,15 @@ printMail (void)
   llmsglit ("");
   llmsglit ("There are two mailing lists associated with Splint: ");
   llmsglit ("");
-  llmsglit ("   lclint-announce@virginia.edu");
+  llmsglit ("   splint-announce@cs.virginia.edu");
   llmsglit ("");
   llmsglit ("      Reserved for announcements of new releases and bug fixes.");
-  llmsglit ("      To subscribe, send a message to majordomo@virginia.edu with body: ");
-  llmsglit ("           subscribe lclint-announce");
   llmsglit ("");
-  llmsglit ("   lclint-interest@virginia.edu");
+  llmsglit ("   splint-discuss@virginia.edu");
   llmsglit ("");
   llmsglit ("      Informal discussions on the use and development of Splint.");
-  llmsglit ("      To subscribe, send a message to majordomo@virginia.edu with body: ");
-  llmsglit ("           subscribe lclint-interest");
+  llmsglit ("");
+  llmsglit ("To subscribe or view archives, visit http://www.splint.org/lists.html");
 }
 
 static void
@@ -526,6 +524,10 @@ void help_processFlags (int argc, char **argv)
        {
          printMaintainer ();
        }
+      else if (flags_isModeName (cstring_fromChars (thisarg)))
+       {
+         llmsg (describeMode (cstring_fromChars (thisarg)));
+       }
       else if (mstring_equal (thisarg, "flags"))
        {
          if (i + 1 < argc)
This page took 0.040147 seconds and 4 git commands to generate.