LogoopenSUSE Build Service > Projects
Sign Up | Log In

A program to generate command line parsers

This package is based on the package 'gengetopt' from project 'home:cavallo71'.

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 <http://www.gnu.org/prep/standards_toc.html>.

Source Files

Filename Size Changed Actions

Comments for home:jeckard (0)

Login required, please login or signup in order to comment