devel/libargparse - The NetBSD Packages Collection

Argument parsing library in C++

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.

Build dependencies

devel/libtool-base pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64libargparse-0.1.0000nb1.tgz
NetBSD 10.0aarch64libargparse-0.1.0000nb1.tgz
NetBSD 10.0aarch64libargparse-0.1.0000nb1.tgz
NetBSD 10.0aarch64libargparse-0.1.0000nb1.tgz
NetBSD 10.0aarch64eblibargparse-0.1.0000nb1.tgz
NetBSD 10.0aarch64eblibargparse-0.1.0000nb1.tgz
NetBSD 10.0alphalibargparse-0.1.0000nb1.tgz
NetBSD 10.0alphalibargparse-0.1.0000nb1.tgz
NetBSD 10.0earmv6hflibargparse-0.1.0000nb1.tgz
NetBSD 10.0earmv6hflibargparse-0.1.0000nb1.tgz
NetBSD 10.0earmv6hflibargparse-0.1.0000nb1.tgz
NetBSD 10.0earmv7hflibargparse-0.1.0000nb1.tgz
NetBSD 10.0earmv7hflibargparse-0.1.0000nb1.tgz
NetBSD 10.0earmv7hflibargparse-0.1.0000nb1.tgz
NetBSD 10.0i386libargparse-0.1.0000nb1.tgz
NetBSD 10.0i386libargparse-0.1.0000nb1.tgz
NetBSD 10.0i386libargparse-0.1.0000nb1.tgz
NetBSD 10.0i386libargparse-0.1.0000nb1.tgz
NetBSD 10.0powerpclibargparse-0.1.0000nb1.tgz
NetBSD 10.0powerpclibargparse-0.1.0000nb1.tgz
NetBSD 10.0powerpclibargparse-0.1.0000nb1.tgz
NetBSD 10.0sh3ellibargparse-0.1.0000nb1.tgz
NetBSD 10.0sh3ellibargparse-0.1.0000nb1.tgz
NetBSD 10.0sparc64libargparse-0.1.0000nb1.tgz
NetBSD 10.0sparc64libargparse-0.1.0000nb1.tgz
NetBSD 10.0sparclibargparse-0.1.0000nb1.tgz
NetBSD 10.0sparclibargparse-0.1.0000nb1.tgz
NetBSD 10.0vaxlibargparse-0.1.0000nb1.tgz
NetBSD 10.0vaxlibargparse-0.1.0000nb1.tgz
NetBSD 10.0vaxlibargparse-0.1.0000nb1.tgz
NetBSD 10.0x86_64libargparse-0.1.0000nb1.tgz
NetBSD 10.0x86_64libargparse-0.1.0000nb1.tgz
NetBSD 10.0x86_64libargparse-0.1.0000nb1.tgz
NetBSD 10.0x86_64libargparse-0.1.0000nb1.tgz
NetBSD 9.0aarch64libargparse-0.1.0000nb1.tgz
NetBSD 9.0aarch64libargparse-0.1.0000nb1.tgz
NetBSD 9.0aarch64libargparse-0.1.0000nb1.tgz
NetBSD 9.0aarch64libargparse-0.1.0000nb1.tgz
NetBSD 9.0alphalibargparse-0.1.0000nb1.tgz
NetBSD 9.0alphalibargparse-0.1.0000nb1.tgz
NetBSD 9.0earmv4libargparse-0.1.0000nb1.tgz
NetBSD 9.0earmv6hflibargparse-0.1.0000nb1.tgz
NetBSD 9.0earmv6hflibargparse-0.1.0000nb1.tgz
NetBSD 9.0earmv6hflibargparse-0.1.0000nb1.tgz
NetBSD 9.0earmv7hflibargparse-0.1.0000nb1.tgz
NetBSD 9.0earmv7hflibargparse-0.1.0000nb1.tgz
NetBSD 9.0earmv7hflibargparse-0.1.0000nb1.tgz
NetBSD 9.0i386libargparse-0.1.0000nb1.tgz
NetBSD 9.0i386libargparse-0.1.0000nb1.tgz
NetBSD 9.0i386libargparse-0.1.0000nb1.tgz
NetBSD 9.0i386libargparse-0.1.0000nb1.tgz
NetBSD 9.0m68klibargparse-0.1.0000nb1.tgz
NetBSD 9.0powerpclibargparse-0.1.0000nb1.tgz
NetBSD 9.0powerpclibargparse-0.1.0000nb1.tgz
NetBSD 9.0powerpclibargparse-0.1.0000nb1.tgz
NetBSD 9.0sparc64libargparse-0.1.0000nb1.tgz
NetBSD 9.0x86_64libargparse-0.1.0000nb1.tgz
NetBSD 9.0x86_64libargparse-0.1.0000nb1.tgz
NetBSD 9.0x86_64libargparse-0.1.0000nb1.tgz
NetBSD 9.0x86_64libargparse-0.1.0000nb1.tgz
NetBSD 9.3x86_64libargparse-0.1.0000nb1.tgz
NetBSD 9.3x86_64libargparse-0.1.0000nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.