diff --git a/CHANGELOG.md b/CHANGELOG.md index c78e05bb..c57ea7a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ Passing the same subcommand multiple times is better supported. A few new featur * Dropped the mostly undocumented `short_curcuit` property, as help flag parsing is a bit more complex, and the default callback behavior of options now works properly. [#179] * Use the standard `BUILD_TESTING` over `CLI11_TESTING` if defined (`CLI11_TESTING` may eventually be removed) [#183] * Cleanup warnings [#191] +* Remove deprecated names: `set_footer`, `set_name`, `set_callback`, and `set_type_name`. Use without the `set_` instead. [#192] [#179]: https://github.com/CLIUtils/CLI11/pull/179 [#183]: https://github.com/CLIUtils/CLI11/pull/183 @@ -20,6 +21,7 @@ Passing the same subcommand multiple times is better supported. A few new featur [#187]: https://github.com/CLIUtils/CLI11/pull/187 [#190]: https://github.com/CLIUtils/CLI11/pull/190 [#191]: https://github.com/CLIUtils/CLI11/pull/191 +[#192]: https://github.com/CLIUtils/CLI11/pull/192 ## Version 1.6.2: Help-all diff --git a/include/CLI/App.hpp b/include/CLI/App.hpp index 416800ec..7bfdd163 100644 --- a/include/CLI/App.hpp +++ b/include/CLI/App.hpp @@ -1356,18 +1356,6 @@ class App { return formatter_->make_help(this, prev, mode); } - /// Provided for backwards compatibility \deprecated - CLI11_DEPRECATED("Please use footer instead") - App *set_footer(std::string msg) { return footer(msg); } - - /// Provided for backwards compatibility \deprecated - CLI11_DEPRECATED("Please use name instead") - App *set_name(std::string msg) { return name(msg); } - - /// Provided for backwards compatibility \deprecated - CLI11_DEPRECATED("Please use callback instead") - App *set_callback(std::function fn) { return callback(fn); } - ///@} /// @name Getters ///@{ diff --git a/include/CLI/Option.hpp b/include/CLI/Option.hpp index 78d478e9..e1a6c5ed 100644 --- a/include/CLI/Option.hpp +++ b/include/CLI/Option.hpp @@ -734,10 +734,6 @@ class Option : public OptionBase