GNU Gengetopt 2.22.6

A C function that uses getopt_long function to parse the command line options

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!

What's new in GNU Gengetopt 2.22.6:

  • Fixed a compilation problem in Mac OS X
  • Added versiontext directive
  • Added --strict-hidden command line option
  • Fixed many bugs
Read full changelog
send us
an update
LICENSE TYPE:
GPL (GNU General Public License) 
USER RATING:
3.6/5 16
DEVELOPED BY:
Lorenzo Bettini
HOMEPAGE:
www.gnu.org
CATEGORY:
ROOT \ Utilities
1 GNU Gengetopt Screenshot:
GNU Gengetopt - Usage example of GNU Gengetopt from the command-line
GNU Gengetopt 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

And both long options (those that start with --) and short options (start with - and consist of only one character) can be handled. For standards about short and long options you may want to take a look at the GNU Coding Standards .

Gengetopt can also generate a function to save the command line options into a file, and a function to read the command line options from a file.

Of course, these two kinds of files are compliant. Gengetopt is free software.

Last updated on November 8th, 2012

#C function generator #getopt_long function #function generator #GNU #gengetopt #C #function

Add your review!

SUBMIT