1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-04-30 12:43:52 +00:00

docs: fix variable name. (#533)

This commit is contained in:
Dan Barowy 2020-11-03 16:58:23 +00:00 committed by GitHub
parent a9e8c56499
commit ff557589e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);