Release Notes: This version correctly refers to the provided strdup; and handles spaces in group names. Package and versions are defined in a .ggo file have the precedence over PACKAGE and VERSION, it handles a missing long long feature, and correctly casts results of malloc in generated code. In the generated parser the generated version of strdup is always used (to improve portability), the generated conf file parser handles quoted strings, and many compilation/portability problems in several architectures were fixed.
Release Notes: Explicit rules in Makefiles that generated errors with some versions of non-GNU makes have been fixed. Names in the generated #ifndef do not contain leading paths. The line number is correctly printed for semantic errors. Group options without short options are handled.
Release Notes: A bug in the parser (causing problems with new versions of gcc) has been fixed. A bug in the scanner (causing problems with \r characters) has been fixed.
Release Notes: Multiple options are handled (i.e. options that can be given more than once at the command line). Options can be grouped in a mutually exclusive way. Default values handling for double and long types was fixed. A config option file parser can now be generated. The position of a parse error can now be printed. Backward compatibility warnings (with gcc 3.2) have been removed.
Release Notes: This release fixes problems in compilation with gcc 3.x.
Release Notes: This is a basically maintenance release: C++ is now used, and the new tool Gengen is used for automatically generating the code that generates the command line parser.
Release Notes: Defaults are now used for func-name and file-name, the empty line at the end of the .ggo file is no longer required, and an update for gengetopt_count_line within TOK_MLSTRING was added. A much more modern version was taken from the GNU C library.
Release Notes: More recent versions of getopt.h, getopt.c, getopt1.c that do not rely on alloca anymore, setting the corresponding variable when a flag option is given, and the generated print_help function uses a different printf for every option, thus avoiding a single printf with a possibly huge string.
Release Notes: Fixed some bugs due to not including some headers, and the generated command line parser can can be called more than once. --no-handle-error option added, so that an error in the command line parsing does not provoke the exit from the program - the parser simply returns not 0, thus the program can write something for helping the user.
Release Notes: --no-handle-help and --no-handle-version options have been added, so that --help|-h and --version|-V can be explicitly handled (for instance for printing a copyright notice). PURPOSE has been added to specify in the .ggo file the purpose of the program. Generated print_version and print_help are not static, so they can be called in the program, and they are prefixed with the name of the generated function, so that more than one parser can be handled. This version will test the presence of alloca function in the standard library. A test suite has been added.