MCPcopy Create free account
hub / github.com/bfgroup/Lyra / get_usage_text

Method get_usage_text

include/lyra/command.hpp:95–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 }
94
95 std::string get_usage_text(const option_style & style) const override
96 {
97 auto tail = parsers[1]->get_usage_text(style);
98 return parsers[0]->get_usage_text(style)
99 + (tail.empty() ? (tail) : (" " + tail));
100 }
101
102 protected:
103 bool expanded_help_details = true;

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected