From 8234766bcadabd32fb548a4b2a4c5a18bff8a864 Mon Sep 17 00:00:00 2001 From: Jarryd Beck Date: Mon, 27 Oct 2014 16:47:21 +1100 Subject: [PATCH] better help example --- src/example.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/example.cpp b/src/example.cpp index cfffb11..526045c 100644 --- a/src/example.cpp +++ b/src/example.cpp @@ -48,7 +48,8 @@ int main(int argc, char* argv[]) ("help", "Print help") ("int", "An integer", cxxopts::value()) ("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") -- libgit2 0.21.4