Commandline parser generator

Edit Package gengetopt
http://www.gnu.org/software/gengetopt/

This program generates a C function that uses getopt_long function to parse the command line options, to validate them and fills a struct.
Thus your program can now handle options such as: myprog --input foo.c -o foo.o --no-tabs -i 100 *.class
Both long options (those that start with --) and short options (start with - and consist of only one character) can be handled.

Refresh
Refresh
Source Files
Filename Size Changed
gengetopt-2.22.6.tar.bz2 0000762807 745 KB
gengetopt.changes 0000001408 1.38 KB
gengetopt.spec 0000002351 2.3 KB
Latest Revision
Thomas Spahni's avatar Thomas Spahni (vodoo) committed (revision 5)
- Upgrade to upstream version 2.22.6

- update to gengetopt-2.22.4
  * removed other gcc compilation warnings on generated files
* Fri Oct 16 2009 puzel@novell.com
- update to gengetopt-2.22.3
  * enum option values can contain + and - (thanks to Papp Gyozo).
  * fixed compilation problems due to macro FIX_UNUSED which was not
    in the right place (thanks to Matthew Junker)
  * --header-output-dir and --src_output-dir to store cmdline.h
    separately from cmdline.c (thanks to Yegor Yefremov)
  * #include <getopt.h> in the generated files, instead of "getopt.h"
  * generated functions use prototypes with char ** instead of
  char *const *
* Sun Jun 14 2009 puzel@novell.com
- update to gengetopt-2.22.2
  * removed further compilation warnings for generated files
  * fixed a compilation problems for files generated with --include-getopt
    with some versions of stdlib.h
  * removed dependency from flex library (that generated problems in
    compilation in open solaris)
  * uses PACKAGE_NAME, if defined, for printing help and version
  * uses --docdir if specified for installing documentation
* Thu Apr 30 2009 puzel@suse.cz
- initial package (version 2.22.1)
Comments 0
openSUSE Build Service is sponsored by