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

Function PrintUnknownCmdHelpInfo

src/admincli.cc:1876–1885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1874}
1875
1876static void PrintUnknownCmdHelpInfo(const char* msg) {
1877 if (msg != NULL) {
1878 std::cout << "'" << msg << "' is not a valid command." << std::endl
1879 << std::endl;
1880 }
1881 if ((msg != NULL) && PromptSimilarCmd(msg)) {
1882 return;
1883 }
1884 PrintAllCmd();
1885}
1886
1887static void InitializeCommandTable() {
1888 CommandTable& command_table = GetCommandTable();

Callers 1

ExecuteCommandFunction · 0.70

Calls 2

PromptSimilarCmdFunction · 0.70
PrintAllCmdFunction · 0.70

Tested by

no test coverage detected