MCPcopy Create free account
hub / github.com/OpenVPN/openvpn3-linux / GetCommandHelp

Method GetCommandHelp

src/common/cmdargparser.cpp:684–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

682
683
684std::string SingleCommand::GetCommandHelp(unsigned int width)
685{
686 std::stringstream ret;
687 ret << command << std::setw(width - command.size())
688 << " - " << description << std::endl;
689 return ret.str();
690}
691
692
693std::string SingleCommand::GetOptionsList()

Callers 1

print_generic_helpMethod · 0.80

Calls 2

sizeMethod · 0.80
strMethod · 0.45

Tested by

no test coverage detected