pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/gengetopt

Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Oct 23 17:41:57 UTC 2013

Added Files:
        pkgsrc/devel/gengetopt: DESCR Makefile PLIST distinfo

Log Message:
Import gengetopt-2.22.6 as devel/gengetopt.

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.

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.

To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/gengetopt/DESCR \
    pkgsrc/devel/gengetopt/Makefile pkgsrc/devel/gengetopt/PLIST \

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index