]>
diplodocus.org Git - nmh/blob - sbr/print_help.c
3 * print_help.c -- print a help message, and possibly the
4 * -- profile/context entries for this command
6 * This code is Copyright (c) 2002, by the authors of nmh. See the
7 * COPYRIGHT file in the root directory of the nmh distribution for
8 * complete copyright information.
15 print_help (char *str
, struct swit
*swp
, int print_context
)
19 /* print Usage string */
20 printf ("Usage: %s\n", str
);
22 /* print all the switches */
23 printf (" switches are:\n");
24 print_sw (ALL
, swp
, "-", stdout
);
27 * check if we should print any profile entries
29 if (print_context
&& (s
= context_find (invo_name
)))
30 printf ("\nProfile: %s\n", s
);