The NetBSD Project

CVS log for pkgsrc/devel/libargparse/Makefile

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / devel / libargparse

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: netbsd-1-6-1


Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Oct 28 13:09:08 2002 UTC (21 years, 5 months ago) by agc
Branch: TNF
CVS Tags: pkgsrc-base, netbsd-1-6-1-base, netbsd-1-6-1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

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.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>