diff -r 7af2ae7c1428 -r 3ed8f7c8bed8 lemon/arg_parser.h --- a/lemon/arg_parser.h Thu Mar 18 00:29:35 2010 +0100 +++ b/lemon/arg_parser.h Thu Mar 18 14:50:32 2010 +0100 @@ -35,12 +35,19 @@ namespace lemon { ///Exception used by ArgParser + + ///Exception used by ArgParser. + /// class ArgParserException : public Exception { public: + /// Reasons for failure + + /// Reasons for failure. + /// enum Reason { - HELP, /// --help option was given - UNKNOWN_OPT, /// Unknown option was given - INVALID_OPT /// Invalid combination of options + HELP, ///< --help option was given. + UNKNOWN_OPT, ///< Unknown option was given. + INVALID_OPT ///< Invalid combination of options. }; private: