aboutsummaryrefslogtreecommitdiff
path: root/args.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'args.hxx')
-rw-r--r--args.hxx17
1 files changed, 5 insertions, 12 deletions
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