aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor C. Richberger <tcr@absolute-performance.com>2016-05-07 12:30:55 -0600
committerTaylor C. Richberger <tcr@absolute-performance.com>2016-05-07 12:30:55 -0600
commit63b56c8afbb96e17b4eef9276a048509415dfe0a (patch)
treebb43fa2c91df7b92457c5c27fee652e14364c208
parentbump version number (diff)
downloadargs.hxx-63b56c8afbb96e17b4eef9276a048509415dfe0a.tar.xz
improve documentation
-rw-r--r--README.md2
-rw-r--r--args.hxx2
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<EitherOpt> in) :
shortOpts(EitherOpt::GetShort(in)), longOpts(EitherOpt::GetLong(in)) {}