Hide test: command from the help output (Developer testing) [skip ci]

This commit is contained in:
Akkadius 2020-04-02 15:58:37 -05:00
parent 72b1e58edb
commit 459303c0fe

View File

@ -168,6 +168,11 @@ namespace EQEmuCommand {
* Print section header * Print section header
*/ */
std::string command_prefix = it.first.substr(0, it.first.find(":")); std::string command_prefix = it.first.substr(0, it.first.find(":"));
if (command_prefix.find("test") != std::string::npos) {
continue;
}
if (command_section != command_prefix) { if (command_section != command_prefix) {
command_section = command_prefix; command_section = command_prefix;
std::cout << termcolor::reset << command_prefix << std::endl; std::cout << termcolor::reset << command_prefix << std::endl;