MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / getHelpColumns

Method getHelpColumns

test/catch.hpp:10485–10500  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 1

getHelpColumnsMethod · 0.45

Calls 2

strMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected