X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/75b164e2434686240fb4005432dc404f80cd8536..94187a80bd60baab4b9c4b949ad820d730578123:/sbr/print_help.c diff --git a/sbr/print_help.c b/sbr/print_help.c index 813a1cb2..2aafe06e 100644 --- a/sbr/print_help.c +++ b/sbr/print_help.c @@ -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 (""); - 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."); } @@ -66,7 +64,7 @@ static const char nmh_intro3[] = \ "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);