Skip to content

Releases: Taywee/args

Fix tests

12 Jan 15:44
Compare
Choose a tag to compare

The previous help output change broke a test.

Fix program line options placement

09 Jan 16:21
Compare
Choose a tag to compare

If there are optional flags, an {OPTIONS} message will be printed in the program line. This release fixes the options placement to precede positional parameters.

Fix pkgconfig installation placement

30 Dec 03:10
Compare
Choose a tag to compare

A movement in CMakeLists.txt broke where the args pkgconfig file was placed ( #110 ). This release fixes that regression.

Fix CMake version

29 Dec 16:52
Compare
Choose a tag to compare

CMake's find_package now sets args_VERSION and other similar variables appropriately.

-- args_FOUND=1
-- args_VERSION=6.4.3
-- args_VERSION_COUNT=3
-- args_VERSION_MAJOR=6
-- args_VERSION_MINOR=4
-- args_VERSION_PATCH=3
-- args_VERSION_TWEAK=0

Add operator* and operator-> to most types

23 Nov 18:19
Compare
Choose a tag to compare

args::get is still available and works. These interfaces are given for better uniformity with std::optional and to help reduce verbosity.

6.2.7

27 Oct 18:57
Compare
Choose a tag to compare
version bumps

Correct default behavior for list arguments

11 Jan 18:36
Compare
Choose a tag to compare

Some relevant test cases were also added.

6.2.1

11 Jan 17:50
Compare
Choose a tag to compare
default values bugfix

New features added by Pavel Belikov

16 Oct 19:45
Compare
Choose a tag to compare

This release incorporates

  • New Implicit value and narg types
  • A new Options structure
  • Allowing forcing flags to be Required without needing to rely on messy group validation
  • Allowing Hidden options to be suppressed from help output.

Big thanks to @pavel-belikov for his work on all of these features.