Age | Commit message (Collapse) | Author | |
---|---|---|---|
1996-03-19 | (struct group): Add PARENT, PARENT_INDEX, HOOK, and CHILD_HOOKS fields. | Miles Bader | |
(argp_parse): Add HOOK argument. Implement passing hook values to parsers, and propagating them between parents and children. When printing `too many arguments', test ARGP_NO_ERRS, not ARGP_NO_HELP. (argp_default_options): Add --usage option. (argp_default_parser): Use argp_state_help, so we don't need to screw with exit options anymore. Add usage option. | |||
1996-03-19 | (struct argp_state): | Miles Bader | |
Add HOOK and CHILD_HOOKS fields. Rename the PARENTS field to be CHILDREN (the most common use is initialization, so this change shouldn't have much effect). (ARGP_KEY_BEGIN, ARGP_KEY_ERROR): New macros. (argp_state_help): New function. (argp_usage, argp_error): Change arguments. | |||
1996-03-02 | (hol_entry_help): Don't print extraneous blank lines. | Miles Bader | |
1996-02-29 | (argp_parse): Print an error message if appropiate when we know there are too | Miles Bader | |
many arguments. | |||
1996-02-28 | (hol_entry_help): Handle null group headers nicely. | Miles Bader | |
1996-02-28 | Initial revision | Miles Bader | |
1996-02-18 | (SRCS): Add shared-dom.c, localhost.c, maptime.c, & canon-host.c. | Miles Bader | |
(LCLHDRS): Add maptime.h. | |||
1996-02-18 | Initial revision | Miles Bader | |
1996-02-15 | (argp_parse): Correctly deal with errors from getopt, and allow the user to | Miles Bader | |
use '?' as a short option. (KEY_ERR): New macro. (argp_default_options, argp_default_parser): Use -? as the short option for --help. | |||
1996-02-14 | (SRCS): Add exec-reauth.c, idvec-auth.c, timefmt.c, and path-lookup.c. | Miles Bader | |
(LCLHDRS): Add timefmt.h. | |||
1996-02-14 | (struct argp_state): Add `quoted' field. | Miles Bader | |
1996-02-14 | (argp_parse): | Miles Bader | |
Don't parse args in order by default. Deal correctly when the user turns a non-option arg into an option in re-ordering mode. Honor ARGP_NO_ARGS. Use KEY_END, KEY_ARG, and QUOTE. (KEY_END): New macro, in place of EOF. (KEY_ARG, QUOTE): New macros. | |||
1996-02-09 | (argp_parse): | Miles Bader | |
When a non-option arg fails to be parsed with EINVAL, set ARG_EINVAL true, and leave ERR as is until just before we return. Put process_arg() in the right scope. Deal with getopt returning EOF early because of `--'. Make STATE.arg_num per-group. (struct group): Renamed process_arg field to args_processed (a count). | |||
1996-02-05 | (argp_parse): Implement the ARG_NUM field. | Miles Bader | |
1996-02-05 | (struct argp_state): Add ARG_NUM field. | Miles Bader | |
1996-02-05 | (line_write, line_fill): Add `const' where appropriate. | Miles Bader | |
1996-02-05 | (line_write, line_fill, line_puts): Add `const' where appropriate. | Miles Bader | |
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-02-05 | (argp_default_options, argp_default_argp, argp_parse, find_long_option): | Miles Bader | |
Add `const' where appropriate. | |||
1996-02-05 | (struct argp, struct argp_state, argp_parse, argp_help, argp_usage, | Miles Bader | |
argp_error, _option_is_short, _option_is_end): Add `const' where appropriate. | |||
1996-02-03 | (idvec_merge_ids): Correctly add all IDS, even if some duplicates are avoided. | Miles Bader | |
1996-01-23 | Initial revision | Miles Bader | |
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. | |||
1996-01-19 | (argp_default_options, argp_default_parser): | Miles Bader | |
Add --program-name (hidden) option. (OPT_PROGNAME): New macro. | |||
1996-01-19 | (idvec_merge, idvec_delete): New declarations. | Miles Bader | |
1996-01-19 | (argz_delete): Renamed from argz_remove. | Miles Bader | |
1996-01-03 | Initial revision | Miles Bader | |
1996-01-03 | (_argp_unlock_xxx): New function. | Miles Bader | |
1996-01-02 | (exec_reauth): Doc fix. | Miles Bader | |
1996-01-02 | (argz_delete): If the result is empty, free it. | Miles Bader | |
1996-01-02 | (idvec_merge_auth): Fix various small typos. | Miles Bader | |
1996-01-02 | (idvec_merge_ids): Preserve duplicates internal to IDS. | Miles Bader | |
(idvec_ensure): Alloc NUM ids, not NUM chars! (idvec_remove): Correctly copy ids when deleting. | |||
1996-01-02 | (idvec_remove, idvec_insert_only): New declarations. | Miles Bader | |
1996-01-02 | (idvec_remove, idvec_insert_only): New functions. | Miles Bader | |
(idvec_setid): Use idvec_insert_only() instead of idvec_insert_new(). | |||
1996-01-02 | Initial revision | Miles Bader | |
1996-01-01 | Initial revision | Miles Bader | |
1996-01-01 | (idvec_free_wrapper, idvec_free, idvec_ensure, idvec_grow, | Miles Bader | |
idvec_tail_contains, idvec_add_new, idvec_insert_new, idvec_merge_ids, idvec_setid, idvec_merge_auth): New declarations. | |||
1996-01-01 | (idvec_free_wrapper, idvec_free, idvec_ensure, idvec_grow, | Miles Bader | |
idvec_tail_contains, idvec_add_new, idvec_insert_new, idvec_merge_ids, idvec_setid): New functions. (idvec_insert): Rewritten to use idvec_grow(). | |||
1995-12-21 | (argp_default_options): Put --help in group -1. | Miles Bader | |
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 into | Miles 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-21 | Initial revision | Miles Bader | |
1995-12-17 | Initial revision | Miles 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 | |