Releases: Taywee/args
Releases · Taywee/args
Fix tests
Fix program line options placement
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
A movement in CMakeLists.txt broke where the args pkgconfig file was placed ( #110 ). This release fixes that regression.
Fix CMake version
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
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
Correct default behavior for list arguments
Some relevant test cases were also added.
6.2.1
New features added by Pavel Belikov
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.