diff --git a/doc/howto.xml b/doc/howto.xml index b573d46..45ff25b 100644 --- a/doc/howto.xml +++ b/doc/howto.xml @@ -382,7 +382,7 @@ locale::global(locale("")); Go the the "test" directory and build the "test_convert" binary. - Set some non-ascii locale in the environmemt. On Linux, one can + Set some non-ascii locale in the environment. On Linux, one can run, for example: $ export LC_CTYPE=ru_RU.KOI8-R @@ -426,7 +426,7 @@ parsed_options parsed = If you want to pass the unrecognized options further, the collect_unrecognized function can be used. The function will collect original tokens for all unrecognized values, and optionally, all found positional options. - Say, if your code handles a few options, but does not handles positional options at all, you can use the function like this: + Say, if your code handles a few options, but does not handle positional options at all, you can use the function like this: vector<string> to_pass_further = collect_unrecognized(parsed.options, include_positional);