Commit 2173948e4188291006d48a95ee131f164a52bd2a
Committed by
GitHub
1 parent
21559bd1
Fix in example from @serge-sans-paille, closes #19
Showing
1 changed file
with
1 additions
and
1 deletions
README.md
| @@ -90,7 +90,7 @@ To set up, add options, and run, your main function will look something like thi | @@ -90,7 +90,7 @@ To set up, add options, and run, your main function will look something like thi | ||
| 90 | CLI::App app{"App description"}; | 90 | CLI::App app{"App description"}; |
| 91 | 91 | ||
| 92 | std::string filename = "default"; | 92 | std::string filename = "default"; |
| 93 | -app.add_option("-f,--file", file, "A help string"); | 93 | +app.add_option("-f,--file", filename, "A help string"); |
| 94 | 94 | ||
| 95 | try { | 95 | try { |
| 96 | app.parse(argc, argv); | 96 | app.parse(argc, argv); |