| 10483 | } |
| 10484 | |
| 10485 | auto getHelpColumns() const -> std::vector<HelpColumns> |
| 10486 | { |
| 10487 | std::ostringstream oss; |
| 10488 | bool first = true; |
| 10489 | for (auto const& opt : m_optNames) |
| 10490 | { |
| 10491 | if (first) |
| 10492 | first = false; |
| 10493 | else |
| 10494 | oss << ", "; |
| 10495 | oss << opt; |
| 10496 | } |
| 10497 | if (!m_hint.empty()) |
| 10498 | oss << " <" << m_hint << ">"; |
| 10499 | return {{oss.str(), m_description}}; |
| 10500 | } |
| 10501 | |
| 10502 | auto isMatch(std::string const& optToken) const -> bool |
| 10503 | { |
no test coverage detected