]> diplodocus.org Git - nmh/blobdiff - sbr/print_help.c
mhbuildsbr.c: Flip logic, moving goto to then-block; no need for else.
[nmh] / sbr / print_help.c
index 6853caa26e228c97ce23b83d7791d9938437dcd0..37834ae18fca40c19ae623b5a81763e12563c1ad 100644 (file)
@@ -1,6 +1,4 @@
-
-/*
- * print_help.c -- print a help message, and possibly the
+/* print_help.c -- print a help message, and possibly the
  *              -- profile/context entries for this command
  *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
@@ -20,7 +18,7 @@ print_help (char *str, struct swit *swp, int print_context)
     printf ("Usage: %s\n", str);
 
     /* print all the switches */
-    printf ("  switches are:\n");
+    puts("  switches are:");
     print_sw (ALL, swp, "-", stdout);
 
     /*
@@ -31,9 +29,9 @@ print_help (char *str, struct swit *swp, int print_context)
     }
 
     /* and for further info */
-    puts ("");
+    putchar('\n');
     print_intro (stdout, TRUE);
-    puts ("\nSee the BUGS section the nmh(7) man page for more information.");
+    puts ("\nSee the BUGS section of the nmh(7) man page for more information.");
 }
 
 
@@ -42,11 +40,10 @@ print_help (char *str, struct swit *swp, int print_context)
  */
 
 static const char nmh_intro1[] = \
-"Send bug reports, questions, suggestions, and patches to nmh-\n"
-"workers@nongnu.org.  That mailing list is relatively quiet, so user\n"
+"Send bug reports, questions, suggestions, and patches to\n"
+"nmh-workers@nongnu.org.  That mailing list is relatively quiet, so user\n"
 "questions are encouraged.  Users are also encouraged to subscribe, and\n"
-"view the archives, at https://lists.gnu.org/mailman/listinfo/nmh-\n"
-"workers .\n";
+"view the archives, at https://lists.gnu.org/mailman/listinfo/nmh-workers\n";
 
 /* The text below is split so that string constant length doesn't
    exceed the C90 minimum maximum length of 509 characters. */