mainGNU Gengetopt - Summary

Membership Info
Project Admin:
2 active members

Group identification
Id: #153
System Name: gengetopt
Name: GNU Gengetopt
Group Type: Official GNU software

Search in this Group


This project is part of the GNU Project.

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

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.

Registration Date: Tue 17 Apr 2001 03:16:34 PM UTC
License: GNU General Public License v2 or later
Development Status: 0 - Undefined


Latest News rss feed

Back to the top

Powered by Savane 3.4