./devel/cxxopts, Lightweight C++ option parser library

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.1.1, Package name: cxxopts-3.1.1, Maintainer: pkgsrc-users

This is a lightweight C++ option parser library, supporting the
standard GNU style syntax for options.

Options can be given as:

--long
--long=argument
--long argument
-a
-ab
-abc argument

where c takes an argument, but a and b do not.

Additionally, anything after -- will be parsed as a positional
argument.


Master sites:

Filesize: 99.168 KB

Version history: (Expand)


CVS history: (Expand)


   2023-09-06 19:57:00 by Benny Siegert | Files touched by this commit (2) | Package updated
Log message:
cxxopts: update to 3.1.1

3.1.1

Fix version number in header.

3.1.0

- Support for multiple long names for the same option (= multiple long aliases)
- Add a program() function to retrieve the program name.
- Added a .clang-format file.
- Added iterator and printing for a ParseResult.
- Cleanup exception code, add cxxopts::exceptions namespace.
- Fix arguments() having no key for options that only have a short name.
   2022-01-29 09:12:46 by Niclas Rosenvik | Files touched by this commit (1)
Log message:
cxxopts: set DEPMETHOD to build since it only installs a header
   2021-12-31 18:23:19 by Iain Hibbert | Files touched by this commit (5)
Log message:
Add cxxopts-3.0.0

This is a lightweight C++ option parser library, supporting the
standard GNU style syntax for options.

Options can be given as:

  --long
  --long=argument
  --long argument
  -a
  -ab
  -abc argument

where c takes an argument, but a and b do not.

Additionally, anything after -- will be parsed as a positional
argument.