diff options
author | Taylor C. Richberger <tcr@absolute-performance.com> | 2016-05-07 12:30:55 -0600 |
---|---|---|
committer | Taylor C. Richberger <tcr@absolute-performance.com> | 2016-05-07 12:30:55 -0600 |
commit | 63b56c8afbb96e17b4eef9276a048509415dfe0a (patch) | |
tree | bb43fa2c91df7b92457c5c27fee652e14364c208 | |
parent | bump version number (diff) | |
download | args.hxx-63b56c8afbb96e17b4eef9276a048509415dfe0a.tar.xz |
improve documentation
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | args.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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. @@ -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)) {} |