summaryrefslogtreecommitdiff
path: root/games/tscp
diff options
context:
space:
mode:
authoragc <agc>2002-10-28 13:10:47 +0000
committeragc <agc>2002-10-28 13:10:47 +0000
commitced436cc4f565ca2de5c1cee845c0e5c8855981d (patch)
treefa56fa65b554477c0da481836686ae4ec932b3f0 /games/tscp
parentb7cb6ba29a25f9f22c4a1965a7e7943322f202d4 (diff)
downloadpkgsrc-ced436cc4f565ca2de5c1cee845c0e5c8855981d.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 'games/tscp')
0 files changed, 0 insertions, 0 deletions