Commit 8ce1594eae932daed3b0729ccfbc13d7d1ccc188
Committed by
GitHub
1 parent
11141525
fix name of make make option opts function (#509)
Showing
1 changed file
with
1 additions
and
1 deletions
book/chapters/formatting.md
| ... | ... | @@ -30,7 +30,7 @@ You can further configure pieces of the code while still keeping most of the for |
| 30 | 30 | ```cpp |
| 31 | 31 | class MyFormatter : public CLI::Formatter { |
| 32 | 32 | public: |
| 33 | - std::string make_opts(const CLI::Option *) const override {return "";} | |
| 33 | + std::string make_option_opts(const CLI::Option *) const override {return "";} | |
| 34 | 34 | }; |
| 35 | 35 | app.formatter(std::make_shared<MyFormatter>()); |
| 36 | 36 | ``` | ... | ... |