Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jarro2783/cxxopts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/example.cpp')
-rw-r--r--src/example.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/example.cpp b/src/example.cpp
index d0ae09c..c6da3a0 100644
--- a/src/example.cpp
+++ b/src/example.cpp
@@ -44,7 +44,7 @@ parse(int argc, const char* argv[])
.set_tab_expansion()
.allow_unrecognised_options()
.add_options()
- ("a,apple", "an apple", cxxopts::value<bool>(apple))
+ ("a,apple,ringo", "an apple", cxxopts::value<bool>(apple))
("b,bob", "Bob")
("char", "A character", cxxopts::value<char>())
("t,true", "True", cxxopts::value<bool>()->default_value("true"))