Node:Argp Help, Next:Argp Examples, Previous:Argp Flags, Up:Argp
argp_help
FunctionNormally programs using argp need not be written with particular
printing argument-usage-type help messages in mind as the standard
--help
option is handled automatically by argp. Typical error
cases can be handled using argp_usage
and
argp_error
. See Argp Helper Functions. However, if it's
desirable to print a help message in some context other than parsing the
program options, argp offers the argp_help
interface.
void argp_help (const struct argp *argp, FILE *stream, unsigned flags, char *name) | Function |
This outputs a help message for the argp parser argp to
stream. The type of messages printed will be determined by
flags.
Any options such as |