]>
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
13 print_help (char *str
, struct swit
*swp
, int print_context
)
17 /* print Usage string */
18 printf ("Usage: %s\n", str
);
20 /* print all the switches */
21 printf (" switches are:\n");
22 print_sw (ALL
, swp
, "-");
25 * check if we should print any profile entries
27 if (print_context
&& (s
= context_find (invo_name
)))
28 printf ("\nProfile: %s\n", s
);