gengetopt

Description

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.

Application availability

This application is available from the following Mandriva media:

cooker x86_64 contrib-release - View package information
2008.0 i586 contrib-release - View package information
2008.0 x86_64 contrib-release - View package information
cooker i586 contrib-release - View package information

rpms - Mandriva RPMS
Version 1.7 last modified by Arkub on 02/04/2007 at 08:28

 


en

RSS

Creator: Arkub on 2007/03/31 23:53
(c) Mandriva 2007
18888888