From 8ce1594eae932daed3b0729ccfbc13d7d1ccc188 Mon Sep 17 00:00:00 2001 From: Michael Hall Date: Fri, 4 Sep 2020 09:41:18 +1000 Subject: [PATCH] fix name of make make option opts function (#509) --- book/chapters/formatting.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); ```