1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-01 21:23:52 +00:00

chore: bump version (#782)

Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
This commit is contained in:
Henry Schreiner 2022-10-06 00:09:41 -04:00 committed by GitHub
parent 9158ce65bf
commit a66ae41457
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
version: 2.2.0.{build} version: 2.3.0.{build}
branches: branches:
only: only:

View File

@ -530,7 +530,7 @@ Before parsing, you can set the following options:
are `CLI::MultiOptionPolicy::Throw`, `CLI::MultiOptionPolicy::Throw`, are `CLI::MultiOptionPolicy::Throw`, `CLI::MultiOptionPolicy::Throw`,
`CLI::MultiOptionPolicy::TakeLast`, `CLI::MultiOptionPolicy::TakeFirst`, `CLI::MultiOptionPolicy::TakeLast`, `CLI::MultiOptionPolicy::TakeFirst`,
`CLI::MultiOptionPolicy::Join`, `CLI::MultiOptionPolicy::TakeAll`, and `CLI::MultiOptionPolicy::Join`, `CLI::MultiOptionPolicy::TakeAll`, and
`CLI::MultiOptionPolicy::Sum` 🚧. `CLI::MultiOptionPolicy::Sum` 🆕.
- `->check(std::string(const std::string &), validator_name="",validator_description="")`: - `->check(std::string(const std::string &), validator_name="",validator_description="")`:
Define a check function. The function should return a non empty string with Define a check function. The function should return a non empty string with
the error message if the check fails 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 - `->trigger_on_parse()`: If set, causes the callback and all associated
validation checks for the option to be executed when the option value is 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 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 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 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::ExistingDirectory`: Requires that the directory exists.
- `CLI::ExistingPath`: Requires that the path (file or directory) exists. - `CLI::ExistingPath`: Requires that the path (file or directory) exists.
- `CLI::NonexistentPath`: Requires that the path does not exist. - `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. exists either directly or in a default path and update the path appropriately.
See [Transforming Validators](#transforming-validators) for more details See [Transforming Validators](#transforming-validators) for more details
- `CLI::Range(min,max)`: Requires that the option be between min and max (make - `CLI::Range(min,max)`: Requires that the option be between min and max (make

View File

@ -9,8 +9,8 @@
// [CLI11:version_hpp:verbatim] // [CLI11:version_hpp:verbatim]
#define CLI11_VERSION_MAJOR 2 #define CLI11_VERSION_MAJOR 2
#define CLI11_VERSION_MINOR 2 #define CLI11_VERSION_MINOR 3
#define CLI11_VERSION_PATCH 0 #define CLI11_VERSION_PATCH 0
#define CLI11_VERSION "2.2.0" #define CLI11_VERSION "2.3.0"
// [CLI11:version_hpp:end] // [CLI11:version_hpp:end]