From 63b56c8afbb96e17b4eef9276a048509415dfe0a Mon Sep 17 00:00:00 2001 From: "Taylor C. Richberger" Date: Sat, 7 May 2016 12:30:55 -0600 Subject: improve documentation --- README.md | 2 +- args.hxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6e1c9a1..1f97f93 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ with an args::Matcher object (check its construction details in the doxygen documentation. Then you can either call it with args::ArgumentParser::ParseCLI for the full -command line with program name, or args::ArgumentParser::ParseArguments with +command line with program name, or args::ArgumentParser::ParseArgs with just the arguments to be parsed. The argument and group variables can then be interpreted as a boolean to see if they've been matched, and their arguments can be pulled from their value and values attributes, if applicable. diff --git a/args.hxx b/args.hxx index e388aa6..3a43f18 100644 --- a/args.hxx +++ b/args.hxx @@ -227,7 +227,7 @@ namespace args /** Specify a mixed single initializer-list of both short and long opts * - * This is the fancy one: `args::Matcher{'a'}`, or `args::Matcher{"foo"}`, or `args::Matcher{"foo", 'f', 'F', "FoO"}` + * This is the fancy one: args::Matcher{'a'}, or args::Matcher{"foo"}, or args::Matcher{"foo", 'f', 'F', "FoO"} */ Matcher(std::initializer_list in) : shortOpts(EitherOpt::GetShort(in)), longOpts(EitherOpt::GetLong(in)) {} -- cgit v1.2.1