diff --git a/book/chapters/formatting.md b/book/chapters/formatting.md index 2af98fae..66dd228d 100644 --- a/book/chapters/formatting.md +++ b/book/chapters/formatting.md @@ -30,7 +30,7 @@ You can further configure pieces of the code while still keeping most of the for ```cpp class MyFormatter : public CLI::Formatter { public: - std::string make_opts(const CLI::Option *) const override {return "";} + std::string make_option_opts(const CLI::Option *) const override {return "";} }; app.formatter(std::make_shared()); ```