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:
parent
11141525ac
commit
8ce1594eae
@ -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>());
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user