test long option names

This commit is contained in:
Jarryd Beck 2014-10-14 10:39:03 +11:00
parent e51e0dc1a3
commit fd3d4bb2e7

View File

@ -44,6 +44,7 @@ int main(int argc, char* argv[])
"thisisareallylongwordthattakesupthewholelineandcannotbebrokenataspace")
("help", "Print help")
("int", "An integer", cxxopts::value<int>())
("option_that_is_too_long_for_the_help", "A very long option")
;
options.parse_positional("positional");