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

Method get_struct_option

src/common/cmdargparser.cpp:529–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

527
528
529std::vector<struct option *> SingleCommandOption::get_struct_option()
530{
531 std::vector<struct option *> ret;
532 ret.push_back(&getopt_option);
533
534 // Add the alias, if configured
535 if (!alias.empty())
536 {
537 ret.push_back(&getopt_alias);
538 }
539 return ret;
540}
541
542
543std::vector<std::string> SingleCommandOption::gen_help_line(const unsigned int width)

Callers 1

init_getoptMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected