Enhance example
This commit is contained in:
parent
9a2749f692
commit
e09bb9052a
@ -39,7 +39,7 @@ int main(int argc, char* argv[])
|
|||||||
("b,bob", "Bob")
|
("b,bob", "Bob")
|
||||||
("f,file", "File", cxxopts::value<std::vector<std::string>>(), "FILE")
|
("f,file", "File", cxxopts::value<std::vector<std::string>>(), "FILE")
|
||||||
("o,output", "Output file", cxxopts::value<std::string>()
|
("o,output", "Output file", cxxopts::value<std::string>()
|
||||||
->default_value("a.out")->implicit_value("b.def"))
|
->default_value("a.out")->implicit_value("b.def"), "BIN")
|
||||||
("positional",
|
("positional",
|
||||||
"Positional arguments: these are the arguments that are entered "
|
"Positional arguments: these are the arguments that are entered "
|
||||||
"without an option", cxxopts::value<std::string>())
|
"without an option", cxxopts::value<std::string>())
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user