2 * print_help.c -- print a help message, and possibly the
3 * -- profile/context entries for this command
5 * This code is Copyright (c) 2002, by the authors of nmh. See the
6 * COPYRIGHT file in the root directory of the nmh distribution for
7 * complete copyright information.
14 print_help (char *str, struct swit *swp, int print_context)
18 /* print Usage string */
19 printf ("Usage: %s\n", str);
21 /* print all the switches */
22 printf (" switches are:\n");
23 print_sw (ALL, swp, "-", stdout);
26 * check if we should print any profile entries
28 if (print_context && (s = context_find (invo_name)))
29 printf ("\nProfile: %s\n", s);