From c2dd801462671e7161079e191244b9ed4240644d Mon Sep 17 00:00:00 2001 From: "Taylor C. Richberger" Date: Wed, 11 May 2016 20:47:57 -0600 Subject: fix documentation --- Doxyfile | 2 +- args.hxx | 17 +++++------------ 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 -- cgit v1.2.1