Gengetopt

This program generate a C function that uses getopt_long function to parse the command line options, validate them and fill a struct.

Thus your program can now handle options such as:

myprog --input foo.c -o foo.o --no-tabs -i 100 *.class


The new page of gengetopt is at http://www.gnu.org/software/gengetopt/

Please, update your bookmark, or the refering page.
You will be redirected there in a moment.