freebsd-ports/devel/gengetopt/pkg-descr
Pete Fritchman 4a5c2c67cb - add NOPORTDOCS support & install documentation
- minor indentation fix in pkg-descr
- add @comment $FreeBSD$ to pkg-plist & sort

PR:		31543
Submitted by:	maintainer
2001-11-15 05:58:49 +00:00

13 lines
534 B
Text

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
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.
WWW: http://www.gnu.org/software/gengetopt/gengetopt.html