mirror of
https://github.com/CLIUtils/CLI11.git
synced 2025-05-03 05:53:52 +00:00
Fix in example from @serge-sans-paille, closes #19
This commit is contained in:
parent
21559bd122
commit
2173948e41
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user