From a66ae4145779c56dc0f9f98a631656417dd77de8 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Thu, 6 Oct 2022 00:09:41 -0400 Subject: [PATCH] chore: bump version (#782) Signed-off-by: Henry Schreiner --- .appveyor.yml | 2 +- README.md | 6 +++--- include/CLI/Version.hpp | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 56b090cd..d917bf42 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,4 +1,4 @@ -version: 2.2.0.{build} +version: 2.3.0.{build} branches: only: diff --git a/README.md b/README.md index 989ef43b..05a38086 100644 --- a/README.md +++ b/README.md @@ -530,7 +530,7 @@ Before parsing, you can set the following options: are `CLI::MultiOptionPolicy::Throw`, `CLI::MultiOptionPolicy::Throw`, `CLI::MultiOptionPolicy::TakeLast`, `CLI::MultiOptionPolicy::TakeFirst`, `CLI::MultiOptionPolicy::Join`, `CLI::MultiOptionPolicy::TakeAll`, and - `CLI::MultiOptionPolicy::Sum` 🚧. + `CLI::MultiOptionPolicy::Sum` 🆕. - `->check(std::string(const std::string &), validator_name="",validator_description="")`: Define a check function. The function should return a non empty string with the error message if the check fails @@ -571,7 +571,7 @@ Before parsing, you can set the following options: - `->trigger_on_parse()`: If set, causes the callback and all associated validation checks for the option to be executed when the option value is parsed vs. at the end of all parsing. This could cause the callback to be - executed multiple times. Also works with positional options 🆕. + executed multiple times. Also works with positional options. These options return the `Option` pointer, so you can chain them together, and even skip storing the pointer entirely. The `each` function takes any function @@ -658,7 +658,7 @@ CLI11 has several Validators built-in that perform some common checks - `CLI::ExistingDirectory`: Requires that the directory exists. - `CLI::ExistingPath`: Requires that the path (file or directory) exists. - `CLI::NonexistentPath`: Requires that the path does not exist. -- `CLI::FileOnDefaultPath`: 🆕 Best used as a transform, Will check that a file +- `CLI::FileOnDefaultPath`: Best used as a transform, Will check that a file exists either directly or in a default path and update the path appropriately. See [Transforming Validators](#transforming-validators) for more details - `CLI::Range(min,max)`: Requires that the option be between min and max (make diff --git a/include/CLI/Version.hpp b/include/CLI/Version.hpp index b03141b8..f49a6e9b 100644 --- a/include/CLI/Version.hpp +++ b/include/CLI/Version.hpp @@ -9,8 +9,8 @@ // [CLI11:version_hpp:verbatim] #define CLI11_VERSION_MAJOR 2 -#define CLI11_VERSION_MINOR 2 +#define CLI11_VERSION_MINOR 3 #define CLI11_VERSION_PATCH 0 -#define CLI11_VERSION "2.2.0" +#define CLI11_VERSION "2.3.0" // [CLI11:version_hpp:end]