summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/argp-help.c
AgeCommit message (Collapse)Author
1996-02-05(struct hol_entry, make_hol, hol_entry_short_iterate, hol_entry_long_iterate,Miles Bader
hol_entry_first_short, hol_entry_first_long, hol_find_entry, hol_sort, hol_entry_help, argp_hol, argp_args_usage, argp_doc, argp_help, argp_error): Add `const' where appropriate.
1996-01-23(hol_entry_help):Miles Bader
Correctly print group headers, and precede them with a blank line. (struct hol_entry, make_hol, hol_sort, hol_set_group): Rename the `set_class' field to be `group'. (hol_help, hol_entry_help): After a group header has been printed, separate subsequent groups with a blank line. (hol_set_group): Renamed from hol_set_sort_class. (argp_help): Use hol_set_group instead of hol_set_sort_class.
1995-12-21(make_hol):Miles Bader
Use the new GROUP field in struct argp_option to initialize sort_classes. (HEADER_COL): New macro. (hol_entry_help): Deal with group headers.
1995-10-20(argp_error): New function.Miles Bader
1995-10-11(hol_find_entry): Don't increment ENTRY prematurely.Miles Bader
(hol_entry_help): Print the right documentation string for each entry. (argp_help): Renamed from argp_usage. (make_hol): Deal with a null value of OPT. If there are no entries, don't define the ENTRIES or SHORT_OPTIONS fields. (hol_free): Don't free ENTRIES or SHORT_OPTIONS unless there are any. (hol_sort): Don't sort unless there are some entries. (hol_usage): Don't do anything unless there are some entries. (hol_sort): Sort int he correct order. (hol_append): Implement. (argp_help): Add the ARGP_HELP_SHORT_USAGE case.
1995-10-10Initial revisionMiles Bader