| 139 | } |
| 140 | |
| 141 | static void PrintUnknownCmdHelpInfo(const char* msg) { |
| 142 | if (msg != NULL) { |
| 143 | std::cout << "'" << msg << "' is not a valid command." << std::endl |
| 144 | << std::endl; |
| 145 | } |
| 146 | if ((msg != NULL) && PromptSimilarCmd(msg)) { |
| 147 | return; |
| 148 | } |
| 149 | PrintAllCmd(); |
| 150 | } |
| 151 | |
| 152 | int32_t SafemodeOp(Client* client, int32_t argc, std::string* argv, ErrorCode* err) { |
| 153 | if (argc < 3) { |
no test coverage detected