Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | (argp_error): New function. | Miles Bader | 1995-10-20 | 1 | -0/+22 |
| | |||||
* | (argp_usage, argp_error): New declarations. | Miles Bader | 1995-10-20 | 1 | -0/+13 |
| | | | | (argp_usage): New inline function. | ||||
* | (argp_parse): If an option alias doesn't have a key, use the real key. | Miles Bader | 1995-10-13 | 1 | -1/+1 |
| | |||||
* | (ARGP_HELP_STD_ERR): Doesn't print a usage message. | Miles Bader | 1995-10-13 | 1 | -2/+7 |
| | | | | (ARGP_HELP_STD_USAGE): ... whereas this does. | ||||
* | (argp_parse): Correctly mark short options as optional. | Miles Bader | 1995-10-12 | 1 | -1/+1 |
| | |||||
* | (hol_find_entry): Don't increment ENTRY prematurely. | Miles Bader | 1995-10-11 | 1 | -103/+199 |
| | | | | | | | | | | | | | (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. | ||||
* | (argp_parse): | Miles Bader | 1995-10-11 | 1 | -81/+97 |
| | | | | | | | | | | | | | | 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. | ||||
* | (ARGP_HELP_*, argp_help): Renamed from ARGP_USAGE_* &c. | Miles Bader | 1995-10-11 | 1 | -12/+18 |
| | | | | (ARGP_HELP_STD_HELP): Use ARGP_HELP_SHORT_USAGE instead of ARGP_HELP_USAGE. | ||||
* | (SRCS): Add argp-parse.c, argp-help.c, and line.c | Miles Bader | 1995-10-11 | 1 | -2/+2 |
| | | | | (LCLHDRS): Add line.h and argp.h. | ||||
* | Doc fixes. | Miles Bader | 1995-10-11 | 1 | -9/+13 |
| | |||||
* | (struct argp_state): Get rid of the PROCESSED_ARG field. | Miles Bader | 1995-10-11 | 1 | -8/+5 |
| | |||||
* | (argp_parse): | Miles Bader | 1995-10-11 | 1 | -45/+59 |
| | | | | | | 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. | ||||
* | (argp_parse): Add support for ARGP_KEY_NO_ARGS. | Miles Bader | 1995-10-10 | 1 | -2/+10 |
| | |||||
* | (struct argp_state): Add PROCESSED_ARG field. | Miles Bader | 1995-10-10 | 1 | -2/+23 |
| | | | | (ARGP_KEY_NO_ARGS): New macro. | ||||
* | Initial revision | Miles Bader | 1995-10-10 | 3 | -0/+1226 |
| | |||||
* | (options_parse): Use 0 as the tag for non-option args. | Miles Bader | 1995-09-27 | 1 | -1/+1 |
| | |||||
* | Use 0 as the tag for non-option args. | Miles Bader | 1995-09-27 | 1 | -1/+1 |
| | |||||
* | (lndist, $(srcdir)/hurd-snap/$(dir)/error.[ch]): Targets removed. | Roland McGrath | 1995-09-16 | 1 | -7/+0 |
| | |||||
* | Include "options.h" instead of <options.h>. | Miles Bader | 1995-08-24 | 1 | -1/+2 |
| | |||||
* | Initial revision | Miles Bader | 1995-08-24 | 1 | -0/+40 |
| | |||||
* | When adding a fake argv[0], bump argc. | Miles Bader | 1995-05-22 | 1 | -1/+4 |
| | | | | Set optind to 0, so that getopt will reinitialize itself. | ||||
* | Initial revision | Miles Bader | 1995-05-20 | 2 | -0/+306 |
| | |||||
* | Declare argz_count and argz_extract. | Miles Bader | 1995-05-18 | 1 | -0/+7 |
| | |||||
* | Add two new functions: argz_count returns the number of arguments in an argz | Miles Bader | 1995-05-18 | 1 | -0/+33 |
| | | | | vector, and argz_extract extracts the arguments into an argv type vector. | ||||
* | Initial revision | Miles Bader | 1995-03-31 | 2 | -0/+107 |