Fix broken example

This commit is contained in:
Jarryd Beck 2023-01-19 07:09:39 +11:00
parent 32afbc6526
commit 1bd4786c16

View File

@ -62,7 +62,7 @@ parse(int argc, const char* argv[])
("tab-expansion", "Tab\texpansion")
("int", "An integer", cxxopts::value<int>(), "N")
("float", "A floating point number", cxxopts::value<float>())
("vector", "A list of doubles", cxxopts::value<std::vector<double>>()->default_value(""))
("vector", "A list of doubles", cxxopts::value<std::vector<double>>())
("option_that_is_too_long_for_the_help", "A very long option")
("l,list", "List all parsed arguments (including default values)")
("range", "Use range-for to list arguments")