1
0
mirror of https://github.com/CLIUtils/CLI11.git synced 2025-05-03 14:03:52 +00:00

Fix in example from @serge-sans-paille, closes #19

This commit is contained in:
Henry Schreiner 2017-06-05 08:16:30 -04:00 committed by GitHub
parent 21559bd122
commit 2173948e41

View File

@ -90,7 +90,7 @@ To set up, add options, and run, your main function will look something like thi
CLI::App app{"App description"};
std::string filename = "default";
app.add_option("-f,--file", file, "A help string");
app.add_option("-f,--file", filename, "A help string");
try {
app.parse(argc, argv);