Commit 1bd4786c166e490558e6e657a42e61f5253356dc

Authored by Jarryd Beck
1 parent 32afbc65

Fix broken example

Showing 1 changed file with 1 additions and 1 deletions
src/example.cpp
... ... @@ -62,7 +62,7 @@ parse(int argc, const char* argv[])
62 62 ("tab-expansion", "Tab\texpansion")
63 63 ("int", "An integer", cxxopts::value<int>(), "N")
64 64 ("float", "A floating point number", cxxopts::value<float>())
65   - ("vector", "A list of doubles", cxxopts::value<std::vector<double>>()->default_value(""))
  65 + ("vector", "A list of doubles", cxxopts::value<std::vector<double>>())
66 66 ("option_that_is_too_long_for_the_help", "A very long option")
67 67 ("l,list", "List all parsed arguments (including default values)")
68 68 ("range", "Use range-for to list arguments")
... ...