Commit e09bb9052a8fe2cb4e37bd8598373ed06a449116
1 parent
9a2749f6
Enhance example
Showing
1 changed file
with
1 additions
and
1 deletions
src/example.cpp
| ... | ... | @@ -39,7 +39,7 @@ int main(int argc, char* argv[]) |
| 39 | 39 | ("b,bob", "Bob") |
| 40 | 40 | ("f,file", "File", cxxopts::value<std::vector<std::string>>(), "FILE") |
| 41 | 41 | ("o,output", "Output file", cxxopts::value<std::string>() |
| 42 | - ->default_value("a.out")->implicit_value("b.def")) | |
| 42 | + ->default_value("a.out")->implicit_value("b.def"), "BIN") | |
| 43 | 43 | ("positional", |
| 44 | 44 | "Positional arguments: these are the arguments that are entered " |
| 45 | 45 | "without an option", cxxopts::value<std::string>()) | ... | ... |