- void Add(const std::string & shortName,
- const std::string & longName,
- ACTION * action,
- const std::string & description);
- void Add(const std::string & longName,
- ACTION * action,
- const std::string & description);
+ OPTION_BLOCK() {}
+ OPTION_BLOCK(const std::string & description)
+ : m_description(description) {}
+ OPTION_BLOCK & Add(const std::string & shortName,
+ const std::string & longName,
+ ACTION * action,
+ const std::string & description);
+ OPTION_BLOCK & Add(const std::string & longName,
+ ACTION * action,
+ const std::string & description);