aboutsummaryrefslogtreecommitdiff
path: root/libshouldbeinlibc
Commit message (Collapse)AuthorAgeFilesLines
* (parser_init):Miles Bader1997-05-261-1/+1
| | | | Replace references to STATE->argp with STATE->root_argp.
* (__argp_state_help, argp_args_usage, hol_help):Miles Bader1997-05-261-3/+3
| | | | Replace references to STATE->argp with STATE->root_argp.
* (parser_init):Miles Bader1997-05-261-0/+8
| | | | | For the special case where no parsing function is supplied for an argp, propagate its input to its first child, if any.
* (struct argp_state):Miles Bader1997-05-261-1/+1
| | | | `argp' field renamed to `root_argp'.
* (hol_add_cluster):Miles Bader1997-05-231-0/+1
| | | | Initialize CL->depth.
* .Miles Bader1997-05-201-0/+7
|
* (ARGP_KEY_HELP_ARGS_DOC): New macro.Miles Bader1997-05-201-0/+1
|
* (_help): Supply STATE to argp_args_usage.Miles Bader1997-05-201-13/+19
| | | | | (argp_args_usage): Add filtering of the args doc string. (comma): Print cluster headers for the first entry too.
* .Miles Bader1997-05-091-0/+16
|
* Add casts to prevent warnings.Miles Bader1997-05-092-8/+8
|
* (parser_finalize): Always set *END_INDEX if supplied.Miles Bader1997-05-091-0/+4
|
* (canon_doc_option): Correct ctype tests.Miles Bader1997-05-091-5/+5
|
* [!__error_t_defined] (__error_t_defined): Define.Miles Bader1997-05-091-1/+2
|
* .Miles Bader1997-03-061-0/+8
|
* (SRCS):Miles Bader1997-03-061-1/+1
| | | | Add argp-eexst.c.
* (__argp_state_help):Miles Bader1997-03-061-1/+1
| | | | Use ARGP_ERR_EXIT_STATUS when exiting due to an error.
* (argp_err_exit_status):Miles Bader1997-03-061-0/+5
| | | | New variable.
* Initial revisionMiles Bader1997-03-061-0/+32
|
* .Miles Bader1997-02-211-0/+6
|
* (usage_long_opt, usage_argful_short_opt, add_argless_short_opt):Miles Bader1997-02-211-13/+17
| | | | Implement OPTION_NO_USAGE.
* (OPTION_NO_USAGE):Miles Bader1997-02-211-0/+9
| | | | New macro.
* Doc fix.Miles Bader1997-02-211-5/+4
|
* .Miles Bader1997-02-211-0/+3
|
* (idvec_insert, idvec_remove):Miles Bader1997-02-211-18/+24
| | | | | | Handle POS > IDVEC->num correctly. (idvec_insert_only): Handle POS >= IDVEC->num correctly.
* .Miles Bader1997-02-211-0/+35
|
* (__argp_fmtstream_update):Miles Bader1997-02-211-3/+11
| | | | | Account for case where NEXTLINE points one past the end of the active buffer.
* (struct uparams):Miles Bader1997-02-211-48/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | New type. (uparams): New variable. (struct uparam_name): New type. (uparam_names): New variable. (fill_in_uparams): New function. (_help): Call fill_in_uparams if necessary. (struct hol_help_state): New type. (hol_help): Add HHSTATE variable & pass to hol_entry_help. Remove LAST_ENTRY & SEP_GROUPS variables. If any suplicate arguments were suppressed, print explanatory note. (print_header, hol_entry_help): Use UPARAMS fields rather than constants. (__argp_failure, __argp_error, __argp_state_help): Make STATE parameter const. (struct pentry_state): Add hhstate field. Remove prev_entry & sep_groups fields. (print_header, comma): Use PEST->hhstate fields. (filter_doc): Replace PEST parameter with STATE. (__argp_failure): Only exit if STATE says it's ok. (hol_entry_help): Add HHSTATE parameter. Remove prev_entry & sep_groups parameters. Suppress duplicate arguments if requested, and note the fact. <stddef.h>: New include.
* (argp_program_bug_address):Miles Bader1997-02-201-15/+20
| | | | | | | | | Make const. (argp_state_help, __argp_state_help, argp_usage, __argp_usage, argp_error, __argp_error, argp_failure, __argp_failure): Make STATE parameter const. (ARGP_KEY_HELP_DUP_ARGS_NOTE): New macro.
* (argp_program_bug_address):Miles Bader1997-02-201-1/+1
| | | | Make const.
* (argp_program_version, argp_program_bug_address):Miles Bader1997-02-203-6/+6
| | | | Make const.
* (argp_program_version):Miles Bader1997-02-201-1/+1
| | | | Make const.
* .Miles Bader1997-02-201-0/+5
|
* (__argp_error, __argp_failure, __argp_state_help):Miles Bader1997-02-201-3/+3
| | | | Use PROGRAM_INVOCATION_SHORT_NAME instead of PROGRAM_INVOCATION_NAME.
* .Miles Bader1997-02-201-2/+5
|
* (parser_convert):Miles Bader1997-02-201-14/+21
| | | | | | | Add FLAGS argument back. (parser_init): Once again pass FLAGS argument to parser_convert. Initialize PARSER->state after calling parser_convert.
* Merge changes from libc 1997-02-17.Miles Bader1997-02-204-25/+36
|
* .Miles Bader1997-02-191-0/+8
|
* (parser_convert):Miles Bader1997-02-191-19/+20
| | | | | | | | Remove FLAGS argument & use PARSER->state.flags. (parser_init): Set PARSER->state.flags. Don't pass FLAGS argument to parser_convert. Make check whether PARSER has the prog name in argv[0] at the proper place.
* Doc fixes.Miles Bader1997-02-181-11/+20
|
* .Miles Bader1997-02-171-0/+9
|
* (__getopt_long, __getopt_long_only, __optind, __optarg, __opterr, __optopt):Miles Bader1997-02-171-12/+0
| | | | Macros removed.
* (parser_parse_next, parser_init):Miles Bader1997-02-171-13/+12
| | | | | | | | Remove __ prefixes from references to getopt functions and variables (OPT*). (argp_version_parser, parser_finalize): Use _ instead of gettext. (gettext): Macro removed.
* Initial checkinMiles Bader1997-02-174-0/+331
|
* .Miles Bader1997-02-161-0/+33
|
* (__argp_input):Miles Bader1997-02-161-0/+2
| | | | New macro.
* (struct argp):Miles Bader1997-02-161-0/+26
| | | | | | Add help_filter field. (struct argp_state): Add pstate field.
* (struct group):Miles Bader1997-02-161-0/+26
| | | | | | | | | | Add argp field. (convert_options): Set it. (__argp_input): New function. (parser_init): Set PARSER->state.pstate.
* (hol_help):Miles Bader1997-02-161-99/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add STATE param. (argp_doc): Deal with help filters. Add STATE param. (struct hol_entry): Add argp field. (struct pentry_state): Add state field. (hol_add_cluster): Add ARGP argument. (print_header): Filter STR if necesary. (usage_argful_short_opt): Use space. (__argp_state_help): Call _help instead of __argp_help. (filter_doc): New function. (space): New function. (__argp_help): Now a wrapper that calls _help. (hol_entry_help): Add STATE param. Do user filtering if necessary. (struct hol_cluster): Add argp field. (make_hol): Make this first parameter ARGP instead of OPT. Set each entry's argp field. (argp_hol): Passin ARGP to make_hol, not ARGP->options. Pass ARGP to hol_add_cluster. (_help): Renamed from __argp_help. Add STATE argument, which pass on appropiately.
* Frob a bunch to exercise new help filtering fature.Miles Bader1997-02-161-17/+79
|
* .Miles Bader1997-02-141-0/+11
|