diff options
author | agc <agc@pkgsrc.org> | 2002-10-28 13:09:08 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2002-10-28 13:09:08 +0000 |
commit | 05047cc3377370428a2fc2a3964bdbdaf87ffb56 (patch) | |
tree | 2c3a7c6653af99cf834806c7723433bab821a4e7 /devel/libargparse/PLIST | |
parent | b6723b453ae4ddaa694c2260f874c8e574cc9ce8 (diff) | |
download | pkgsrc-05047cc3377370428a2fc2a3964bdbdaf87ffb56.tar.gz |
Initial import of libargparse-0.1.0000 into the NetBSD Packages Collection.
libargparse is a command line argument parser library in C++
The ArgParse class allows you to specify names of options that you
want parsed, along with a usage message for them. Options come in
four flavors: flag, int, float, and string. Flags don't take
arguments, but the other kinds do. For an option that takes an
argument, it can be specified with an equals sign, with a colon, or by
putting it in the next element of argv. ("--foo=stuff",
"--foo:stuff", or "--foo stuff", respectively)
The flavors that take arguments also come in array flavors. With an
array, you specify a pointer to a vector of the basic type, instead of
just a pointer to a basic type. This allows the option to appear more
than once, and the new values are appended to the array. Optionally,
you can also specify a separator character, so that multiple array
elements can be parsed up from a single instance of the option.
Options can start with either a single dash or a double dash, but see
allowOneCharOptionsToBeCombined() for more information.
Diffstat (limited to 'devel/libargparse/PLIST')
-rw-r--r-- | devel/libargparse/PLIST | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/devel/libargparse/PLIST b/devel/libargparse/PLIST new file mode 100644 index 00000000000..ad272778d98 --- /dev/null +++ b/devel/libargparse/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/28 13:09:08 agc Exp $ +include/argparse.h +lib/libargparse.a +lib/libargparse.la +lib/libargparse.so +lib/libargparse.so.0 +lib/libargparse.so.0.0 |