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.