From 459303c0fe1645fed77f3c1a893ad766e9b49c30 Mon Sep 17 00:00:00 2001 From: Akkadius Date: Thu, 2 Apr 2020 15:58:37 -0500 Subject: [PATCH] Hide test: command from the help output (Developer testing) [skip ci] --- common/cli/eqemu_command_handler.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/cli/eqemu_command_handler.cpp b/common/cli/eqemu_command_handler.cpp index 96ed5a155..d803d35d4 100644 --- a/common/cli/eqemu_command_handler.cpp +++ b/common/cli/eqemu_command_handler.cpp @@ -168,6 +168,11 @@ namespace EQEmuCommand { * Print section header */ 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) { command_section = command_prefix; std::cout << termcolor::reset << command_prefix << std::endl;