aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor C. Richberger <Taywee@gmx.com>2016-05-11 20:47:57 -0600
committerTaylor C. Richberger <Taywee@gmx.com>2016-05-11 20:47:57 -0600
commitc2dd801462671e7161079e191244b9ed4240644d (patch)
tree26cc9ee8ea6089817e392d7bdfb82b534af12078
parentfix readme (diff)
downloadargs.hxx-c2dd801462671e7161079e191244b9ed4240644d.tar.xz
fix documentation4.1.2
-rw-r--r--Doxyfile2
-rw-r--r--args.hxx17
2 files changed, 6 insertions, 13 deletions
diff --git a/Doxyfile b/Doxyfile
index 8c1e8f1..3377117 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -38,7 +38,7 @@ PROJECT_NAME = "args"
# could be handy for archiving the generated documentation or if some version
# control system is used.
-PROJECT_NUMBER = 4.1.1
+PROJECT_NUMBER = 4.1.2
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
diff --git a/args.hxx b/args.hxx
index 9dfe9d5..b5d9b0d 100644
--- a/args.hxx
+++ b/args.hxx
@@ -166,19 +166,12 @@ namespace args
virtual ~ValidationError() {};
};
- /** Errors that are caused by invalid use of this library
+ /** Errors in map lookups
*/
- class UsageError : public Error
+ class MapError : public ParseError
{
public:
- UsageError(const std::string &problem) : Error(problem) {}
- virtual ~UsageError() {};
- };
-
- class MapError : public Error
- {
- public:
- MapError(const std::string &problem) : Error(problem) {}
+ MapError(const std::string &problem) : ParseError(problem) {}
virtual ~MapError() {};
};
@@ -1517,7 +1510,7 @@ namespace args
}
};
- /** A mapping value flag class
+ /** A mapping value flag list class
*
* \tparam K the type to extract the argument as
* \tparam T the type to store the result as
@@ -1695,7 +1688,7 @@ namespace args
}
};
- /** A mapping value flag class
+ /** A positional argument mapping list class
*
* \tparam K the type to extract the argument as
* \tparam T the type to store the result as