better help example

This commit is contained in:
Jarryd Beck 2014-10-27 16:47:21 +11:00
parent 3707c91a01
commit 8234766bca

View File

@ -48,7 +48,8 @@ int main(int argc, char* argv[])
("help", "Print help")
("int", "An integer", cxxopts::value<int>())
("option_that_is_too_long_for_the_help", "A very long option")
("unicode", u8"A help option with an accent: à")
("unicode", u8"A help option with non-ascii: à. Here the length of the"
" string should be correct")
;
options.add_options("Group")