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:
parent
9158ce65bf
commit
a66ae41457
@ -1,4 +1,4 @@
|
||||
version: 2.2.0.{build}
|
||||
version: 2.3.0.{build}
|
||||
|
||||
branches:
|
||||
only:
|
||||
|
@ -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
|
||||
|
@ -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]
|
||||
|
Loading…
x
Reference in New Issue
Block a user