aboutsummaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/argp-parse.c
Commit message (Collapse)AuthorAgeFilesLines
...
* (argp_parse):Miles Bader1995-10-111-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_parse):Miles Bader1995-10-111-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 Bader1995-10-101-2/+10
|
* Initial revisionMiles Bader1995-10-101-0/+356