mirror of https://github.com/jarro2783/cxxopts.git
test long option names
This commit is contained in:
parent
e51e0dc1a3
commit
fd3d4bb2e7
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue