Path to this page:
./
devel/gengetopt,
Command line parser generator
Branch: pkgsrc-2020Q2,
Version: 2.22.6,
Package name: gengetopt-2.22.6,
Maintainer: pkgsrc-usersThis 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.
Master sites: (Expand)
SHA1: c93bdec17f247aa32b3cd6530a6f68aa430d67f5
RMD160: e4e147cb4e75b4a0d0e959ae737b3082f534c3da
Filesize: 1031.536 KB
Version history: (Expand)
- (2020-07-01) Package added to pkgsrc.se, version gengetopt-2.22.6 (created)