Release Notes: Default values for enumerated options with optional arguments are correctly handled. Sections are printed in the help output before group specifications. One can insert text in the output of --help, and can specify gengetopt command line options in the input file itself. A bug in the parsing of multiple option dimensions and a bug in the generation of long help strings have been fixed.
Release Notes: This release fixes a bug in the generating parser where no multiple option is of type string. The passed header file extension is now used when including the header file name in the generated C source. A problem with the internal variable optind with the non-glibc version of getopt has been fixed. There are a range of occurrences for multiple options. Help and usage strings are generated and accessible (the same that are printed by --help). Reduced size for multiple option parsers. An --output-dir command line option has been added. The option --string-parser generates a parser that interprets a passed string as command line arguments.
Release Notes: A --full-help option is generated, which also shows hidden options. Multiple parsers can be linked into the same executable. When invoking getopt_long, any pointers to previously scanned command lines are discarded. A bug in the generation of help strings that might cause a seg fault was fixed.
Release Notes: Option parts can be specified in any order. Options can be hidden (not shown in the --help output). An option can depend on another option. When converting a numeric string, the result is checked. Enumerated options handling was fixed when an abbreviated value is passed.
Release Notes: Required group options are not checked when the flag "check_required" is not specified. A function is generated to save the command line options into a file. Dynamic memory is used for dealing with a configuration file. The -h,--help and -V,--version options can be overridden. Infinite loops with texts ending with newlines were fixed. Variables which refer to a list of acceptable values have names that are prefixed with the parser name.
Release Notes: Removed some memory leaks in the generated code, and fixed some bugs.
Release Notes: Texinfo documentation was included and a function for explicitly checking whether a required option has been provided is now generated. Group options can be multiple and can have an optional argument. Bugs and memory leaks in the generated files were fixed.
Release Notes: Segfaults in multiple option handling were fixed. Sections can now be associated with a more detailed description that is printed in the --help output. Options and arguments in config files can now be separated by '='. Wrapping is now applied to all description strings. Better checks for quoted string well-formedness in the configuration files were implemented.
Release Notes: Options can have optional arguments. Memory leaks in the generated files were removed. A second parser function is generated that allows the user to specify more options for the command line parser. --unamed-opts can be given an optional argument to describe the additional arguments without names. The config file parser generator was rewritten in order to handle multiple options and other standard command line options. Multiple options are allowed to have no arguments. Multiple option arguments can be given, separated by commas.
Release Notes: This release fixes a small bug in the generated configuration file parser. The default values now work for multiple options, and multiple options can be specified without a short form. The output of --help is now wrapped. It is now possible to provide a more meaningful name for the types of arguments (e.g., FILENAME or URL instead of simply STRING). Sections have been added for options.