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

Method SetMainCommands

src/common/cmdargparser.cpp:92–95  ·  view source on GitHub ↗

* Provide a "back-pointer" to the parent Commands objects. This * is needed to be able to extract all the various commands, * options and the argument helper function in each of the registered * commands. * * @param cmds Commands * to the parent Commands object. */

Source from the content-addressed store, hash-verified

90 * @param cmds Commands * to the parent Commands object.
91 */
92void Commands::ShellCompletion::SetMainCommands(Commands *cmds)
93{
94 commands = cmds;
95}
96
97
98int Commands::ShellCompletion::RunCommand(const std::string &arg0,

Callers 1

ProcessCommandLineMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected