Commit 97f5460fbe1e2e436161b24f8549fa82c56b57be
Committed by
GitHub
1 parent
51ea7ebe
docs: update changelog (#564)
Showing
2 changed files
with
34 additions
and
6 deletions
CHANGELOG.md
| 1 | 1 | ## Version 2.0: In progress |
| 2 | 2 | |
| 3 | -* Built-in config format is TOML compliant now [#435] | |
| 4 | -* Config updates [#442] | |
| 5 | -* More powerful containers, `%%` separator [#423] | |
| 6 | -* Add a version flag easily [#452] | |
| 3 | +* Built-in config format is TOML compliant now [#435][] | |
| 4 | + * Support multiline TOML [#528][] | |
| 5 | +* Support short/positional options in config mode [#443][] | |
| 6 | +* More powerful containers, `%%` separator [#423][] | |
| 7 | +* Add a version flag easily [#452][] | |
| 8 | +* Support atomic types [#520][] | |
| 9 | +* Add a type validator `CLI::TypeValidator<TYPE>` [#526][] | |
| 10 | +* Support `->silent()` on subcommands. [#529][] | |
| 11 | +* Add alias section to help for subcommands [#545][] | |
| 12 | +* Redesigned MakeSingleFiles to have a higher level of manual control, to support future features. [#546][] | |
| 13 | +* Moved testing from GTest to Catch2 [#574][] | |
| 14 | + | |
| 15 | +* Bugfix: avoid listing helpall as a required flag [#530][] | |
| 16 | +* Bugfix: avoid a clash with WINDOWS define [#563][] | |
| 17 | + | |
| 18 | +* Removed deprecated set commands, use validators instead. [#565][] | |
| 19 | + | |
| 20 | +* Build: support pkg-config [#523][] | |
| 21 | + | |
| 7 | 22 | |
| 8 | 23 | [#435]: https://github.com/CLIUtils/CLI11/pull/435 |
| 9 | 24 | [#443]: https://github.com/CLIUtils/CLI11/pull/443 |
| 10 | 25 | [#423]: https://github.com/CLIUtils/CLI11/pull/423 |
| 11 | 26 | [#452]: https://github.com/CLIUtils/CLI11/pull/452 |
| 27 | +[#520]: https://github.com/CLIUtils/CLI11/pull/520 | |
| 28 | +[#523]: https://github.com/CLIUtils/CLI11/pull/523 | |
| 29 | +[#526]: https://github.com/CLIUtils/CLI11/pull/526 | |
| 30 | +[#528]: https://github.com/CLIUtils/CLI11/pull/528 | |
| 31 | +[#529]: https://github.com/CLIUtils/CLI11/pull/529 | |
| 32 | +[#530]: https://github.com/CLIUtils/CLI11/pull/530 | |
| 33 | +[#545]: https://github.com/CLIUtils/CLI11/pull/545 | |
| 34 | +[#546]: https://github.com/CLIUtils/CLI11/pull/546 | |
| 35 | +[#563]: https://github.com/CLIUtils/CLI11/pull/563 | |
| 36 | +[#565]: https://github.com/CLIUtils/CLI11/pull/565 | |
| 37 | +[#574]: https://github.com/CLIUtils/CLI11/pull/574 | |
| 38 | + | |
| 39 | + | |
| 12 | 40 | |
| 13 | 41 | |
| 14 | 42 | ### Version 1.9.1: Backporting fixes | ... | ... |
README.md
| ... | ... | @@ -224,7 +224,7 @@ While all options internally are the same type, there are several ways to add an |
| 224 | 224 | app.add_option(option_name, help_str="") |
| 225 | 225 | |
| 226 | 226 | app.add_option(option_name, |
| 227 | - variable_to_bind_to, // bool, char(see note)๐ง, int, float, vector, enum, or string-like, or anything with a defined conversion from a string or that takes an int ๐, double ๐, or string in a constructor. Also allowed are tuples ๐, std::array ๐ or std::pair ๐. Also supported are complex numbers๐ง, wrapper types๐ง, and containers besides vector๐ง of any other supported type. | |
| 227 | + variable_to_bind_to, // bool, char(see note)๐ง, int, float, vector, enum, std::atomic ๐ง, or string-like, or anything with a defined conversion from a string or that takes an int ๐, double ๐, or string in a constructor. Also allowed are tuples ๐, std::array ๐ or std::pair ๐. Also supported are complex numbers๐ง, wrapper types๐ง, and containers besides vector๐ง of any other supported type. | |
| 228 | 228 | help_string="") |
| 229 | 229 | |
| 230 | 230 | app.add_option_function<type>(option_name, |
| ... | ... | @@ -245,7 +245,7 @@ app.add_flag(option_name, |
| 245 | 245 | help_string="") |
| 246 | 246 | |
| 247 | 247 | app.add_flag(option_name, |
| 248 | - variable_to_bind_to, // bool, int, float, complex, containers, enum, or string-like, or any singular object with a defined conversion from a string like add_option | |
| 248 | + variable_to_bind_to, // bool, int, float, complex, containers, enum, std::atomic ๐ง, or string-like, or any singular object with a defined conversion from a string like add_option | |
| 249 | 249 | help_string="") |
| 250 | 250 | |
| 251 | 251 | app.add_flag_function(option_name, | ... | ... |