-
-/*
- * 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
printf ("Usage: %s\n", str);
/* print all the switches */
- printf (" switches are:\n");
+ puts(" switches are:");
print_sw (ALL, swp, "-", stdout);
/*
}
/* and for further info */
- puts ("");
- print_intro (stdout, TRUE);
- puts ("\nSee the BUGS section of the nmh(7) man page for more information.");
+ putchar('\n');
+ print_intro (stdout, true);
+ puts ("\nSee the BUGS section of nmh(7) for more information.");
}
"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. */
"at http://www.nongnu.org/nmh/ .\n";
void
-print_intro (FILE *file, int brief) {
+print_intro (FILE *file, bool brief) {
fputs (nmh_intro1, file);
if (! brief) {
fputs (nmh_intro2, file);