MCPcopy Create free account
hub / github.com/baidu/tera / PrintUnknownCmdHelpInfo

Function PrintUnknownCmdHelpInfo

src/lbcli_main.cc:141–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141static 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
152int32_t SafemodeOp(Client* client, int32_t argc, std::string* argv, ErrorCode* err) {
153 if (argc < 3) {

Callers 1

ExecuteCommandFunction · 0.70

Calls 2

PromptSimilarCmdFunction · 0.70
PrintAllCmdFunction · 0.70

Tested by

no test coverage detected