summaryrefslogtreecommitdiff
path: root/libshouldbeinlibc/argp-parse.c
AgeCommit message (Collapse)Author
1995-10-13(argp_parse): If an option alias doesn't have a key, use the real key.Miles Bader
1995-10-12(argp_parse): Correctly mark short options as optional.Miles Bader
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_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-10Initial revisionMiles Bader