| 1874 | } |
| 1875 | |
| 1876 | static 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 | |
| 1887 | static void InitializeCommandTable() { |
| 1888 | CommandTable& command_table = GetCommandTable(); |
no test coverage detected