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

Method Commands

src/common/cmdargparser.hpp:952–960  ·  view source on GitHub ↗

* Instantiate the Commands container * * @param progname A short string defining this program * @param description A short description of this programs function/role */

Source from the content-addressed store, hash-verified

950 * @param description A short description of this programs function/role
951 */
952 Commands(const std::string &progname, const std::string &description)
953 : progname(progname), description(description)
954 {
955 // Register a new ShellCompletion helper object. This
956 // will automatically build up the 'shell-completion' command,
957 // based on the commands and options being added.
958 shellcompl = std::make_shared<ShellCompletion>();
959 commands.push_back(shellcompl);
960 }
961
962
963 /**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected