Go to the source code of this file.
Classes | |
struct | extended_option |
Extends the definition of option in getopt to add in a message. More... | |
Functions | |
option * | convert_extended_options (const extended_option *exs) |
Converts extended options to regular options for use in getopt. | |
void | print_usage (const extended_option *exs, char *sysname, char *usage_str) |
printout a usage string that lists all the options. |
option* convert_extended_options | ( | const extended_option * | exs | ) |
Converts extended options to regular options for use in getopt.
void print_usage | ( | const extended_option * | exs, | |
char * | sysname, | |||
char * | usage_str | |||
) |
printout a usage string that lists all the options.
extended options are all default options from above. sysname is typically argv[0] usage str contains the usage of the mandatory no flag options.