1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-08 15:53:51 +00:00

fix name of make make option opts function (#509)

This commit is contained in:
Michael Hall 2020-09-04 09:41:18 +10:00 committed by GitHub
parent 11141525ac
commit 8ce1594eae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ You can further configure pieces of the code while still keeping most of the for
```cpp ```cpp
class MyFormatter : public CLI::Formatter { class MyFormatter : public CLI::Formatter {
public: 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<MyFormatter>()); app.formatter(std::make_shared<MyFormatter>());
``` ```