mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-04-30 04:33:53 +00:00
docs: fix variable name. (#533)
This commit is contained in:
parent
a9e8c56499
commit
ff557589e3
@ -39,7 +39,7 @@ gitbook:examples $ c++ -std=c++11 intro.cpp
|
||||
Much more complicated options are handled elegantly:
|
||||
|
||||
```cpp
|
||||
std::string req_real_file;
|
||||
std::string file;
|
||||
app.add_option("-f,--file", file, "Require an existing file")
|
||||
->required()
|
||||
->check(CLI::ExistingFile);
|
||||
|
Loading…
x
Reference in New Issue
Block a user