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