diff options
Diffstat (limited to 'src/example.cpp')
-rw-r--r-- | src/example.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/example.cpp b/src/example.cpp index 0efb3a4..c21bad6 100644 --- a/src/example.cpp +++ b/src/example.cpp @@ -39,6 +39,8 @@ parse(int argc, const char* argv[]) bool apple = false; options + .set_width(70) + .set_tab_expansion() .allow_unrecognised_options() .add_options() ("a,apple", "an apple", cxxopts::value<bool>(apple)) @@ -56,6 +58,7 @@ parse(int argc, const char* argv[]) ("long-description", "thisisareallylongwordthattakesupthewholelineandcannotbebrokenataspace") ("help", "Print help") + ("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>>()) |