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