mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-03 14:03:52 +00:00
Updates to changelog
This commit is contained in:
parent
f4d8fd0305
commit
767ec29f2a
@ -1,14 +1,15 @@
|
|||||||
## Version 0.3 (in progress)
|
## Version 0.3
|
||||||
|
|
||||||
* Added `->requires`, `->excludes`, and `->envname` from plumbum
|
* Added `->requires`, `->excludes`, and `->envname` from [Plumbum](http://plumbum.readthedocs.io/en/latest/)
|
||||||
* More tests for Help strings, improvements in formatting
|
* Supports `->mandatory` from Plubmum
|
||||||
|
* More tests for help strings, improvements in formatting
|
||||||
* Support type and set syntax in positionals help strings
|
* Support type and set syntax in positionals help strings
|
||||||
* Added help groups, with `->group("name")` syntax
|
* Added help groups, with `->group("name")` syntax
|
||||||
* Added initial support for ini file reading with `add_config` option.
|
* Added initial support for ini file reading with `add_config` option.
|
||||||
* Supports GCC 4.7 again
|
* Supports GCC 4.7 again
|
||||||
|
* Clang 3.5 now required for tests due to googlemock usage, 3.4 should still work otherwise
|
||||||
* Changes `setup` for an explicit help bool in constructor/`add_subcommand`
|
* Changes `setup` for an explicit help bool in constructor/`add_subcommand`
|
||||||
|
|
||||||
|
|
||||||
## Version 0.2
|
## Version 0.2
|
||||||
|
|
||||||
* Moved to simpler syntax, where `Option` pointers are returned and operated on
|
* Moved to simpler syntax, where `Option` pointers are returned and operated on
|
||||||
|
@ -80,7 +80,6 @@ TEST(THelp, EnvName) {
|
|||||||
std::string help = app.help();
|
std::string help = app.help();
|
||||||
|
|
||||||
EXPECT_THAT(help, HasSubstr("SOME_ENV"));
|
EXPECT_THAT(help, HasSubstr("SOME_ENV"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(THelp, Requires) {
|
TEST(THelp, Requires) {
|
||||||
@ -92,7 +91,6 @@ TEST(THelp, Requires) {
|
|||||||
std::string help = app.help();
|
std::string help = app.help();
|
||||||
|
|
||||||
EXPECT_THAT(help, HasSubstr("Requires: --op1"));
|
EXPECT_THAT(help, HasSubstr("Requires: --op1"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(THelp, Excludes) {
|
TEST(THelp, Excludes) {
|
||||||
@ -104,5 +102,5 @@ TEST(THelp, Excludes) {
|
|||||||
std::string help = app.help();
|
std::string help = app.help();
|
||||||
|
|
||||||
EXPECT_THAT(help, HasSubstr("Excludes: --op1"));
|
EXPECT_THAT(help, HasSubstr("Excludes: --op1"));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user