mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 05:21:29 +00:00
Hide test: command from the help output (Developer testing) [skip ci]
This commit is contained in:
parent
72b1e58edb
commit
459303c0fe
@ -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;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user