summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
AgeCommit message (Collapse)Author
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-12-21(struct argp_option): Add the GROUP field. Twiddle doc.Miles Bader
(_option_is_end): Be more pessimistic about what constitutes `the end'.
1995-12-21(SRCS): Remove options.c. Rename ivec.c to idvec.c.Miles Bader
(LCLHDRS): Remove options.h. Rename ivec.h to idvec.h.
1995-12-21(struct idvec): Renamed from struct ivec. `ints' field renamed to `ids'.Miles Bader
(make_idvec, idvec_insert, idvec_add, idvec_contains): All renamed from the corresponding `ivec' declaration, and types, variable names, etc, changed accordingly.
1995-12-21(make_idvec, idvec_insert, idvec_add, idvec_contains):Miles Bader
All renamed from the corresponding `ivec' routine, and types, variable names, etc, changed accordingly.
1995-12-21(argz_insert): Instead of an integer position N, take a pointer BEFORE intoMiles Bader
ARGZ to insert before. (argz_next): New inline function.
1995-12-21(argz_insert):Miles Bader
Instead of an integer position N, take a pointer into ARGZ to insert before.
1995-12-21Initial revisionMiles Bader
1995-12-17Initial revisionMiles Bader
1995-12-17(SRCS): Add termsize.c & ivec.c.Miles Bader
(LCLHDRS): Add ivec.h.
1995-12-17(argz_insert): New declaration.Miles Bader
1995-12-17(argz_remove, argz_append, argz_add): New functions, were in envz.c.Miles Bader
(argz_insert): New function.
1995-12-14(argz_append, argz_add, argz_remove): New functions.Miles Bader
1995-12-06(argz_stringify): Add the SEP argument.Miles Bader
1995-12-06(argp_parse): Changes uses of the INDEX field in struct argp_state to use NEXT.Miles Bader
1995-12-06(struct argp_state): Rename the INDEX field to be NEXT.Miles Bader
1995-12-05(SRCS, LCLHDRS): Removed error.c and error.h.Roland McGrath
(CPPFLAGS-error.c): Variable removed.
1995-10-20(argp_error): New function.Miles Bader
1995-10-20(argp_usage, argp_error): New declarations.Miles Bader
(argp_usage): New inline function.
1995-10-13(argp_parse): If an option alias doesn't have a key, use the real key.Miles Bader
1995-10-13(ARGP_HELP_STD_ERR): Doesn't print a usage message.Miles Bader
(ARGP_HELP_STD_USAGE): ... whereas this does.
1995-10-12(argp_parse): Correctly mark short options as optional.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-11(argp_parse):Miles Bader
Update STATE.argp when adding a wrapper to implement the --help option. In general, use the version of variables that are in STATE. Update STATE.index in the case where getopt returns EOF. Correctly translate options. (argp_default_parser, argp_parse): Rename uses of argp_usage* to argp_help*. (argp_parse): Deal with null parser or option fields. If an argp has neither a parser or any options, don't put it in GROUPS. Use comparison with EGROUP, rather than testing the parser field, the end test for iteration over GROUPS. (argp_parse): Pass in the right value for GROUPS to convert_options.
1995-10-11(ARGP_HELP_*, argp_help): Renamed from ARGP_USAGE_* &c.Miles Bader
(ARGP_HELP_STD_HELP): Use ARGP_HELP_SHORT_USAGE instead of ARGP_HELP_USAGE.
1995-10-11(SRCS): Add argp-parse.c, argp-help.c, and line.cMiles Bader
(LCLHDRS): Add line.h and argp.h.
1995-10-11Doc fixes.Miles Bader
1995-10-11(struct argp_state): Get rid of the PROCESSED_ARG field.Miles Bader
1995-10-11(argp_parse):Miles Bader
Put all the group attributes into structures which get stored in the GROUPS array, rather than having a separate array for each. Implement ARGP_KEY_NO_ARGS in a better way.
1995-10-10(argp_parse): Add support for ARGP_KEY_NO_ARGS.Miles Bader
1995-10-10(struct argp_state): Add PROCESSED_ARG field.Miles Bader
(ARGP_KEY_NO_ARGS): New macro.
1995-10-10Initial revisionMiles Bader
1995-09-27(options_parse): Use 0 as the tag for non-option args.Miles Bader
1995-09-27Use 0 as the tag for non-option args.Miles Bader
1995-09-16(lndist, $(srcdir)/hurd-snap/$(dir)/error.[ch]): Targets removed.Roland McGrath
1995-08-24Include "options.h" instead of <options.h>.Miles Bader
1995-08-24Initial revisionMiles Bader
1995-05-22When adding a fake argv[0], bump argc.Miles Bader
Set optind to 0, so that getopt will reinitialize itself.
1995-05-20Initial revisionMiles Bader
1995-05-18Declare argz_count and argz_extract.Miles Bader
1995-05-18Add two new functions: argz_count returns the number of arguments in an argzMiles Bader
vector, and argz_extract extracts the arguments into an argv type vector.
1995-03-31Initial revisionMiles Bader