mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-18 20:48:26 +00:00
Fix command exit codes
This commit is contained in:
@@ -223,10 +223,6 @@ namespace WorldserverCommandHandler {
|
||||
{
|
||||
description = "Dumps server database tables";
|
||||
|
||||
if (cmd[{"-h", "--help"}]) {
|
||||
return;
|
||||
}
|
||||
|
||||
std::vector<std::string> arguments = {};
|
||||
std::vector<std::string> options = {
|
||||
"--all",
|
||||
@@ -245,7 +241,7 @@ namespace WorldserverCommandHandler {
|
||||
};
|
||||
|
||||
|
||||
if (argc < 3) {
|
||||
if (argc < 3 || cmd[{"-h", "--help"}]) {
|
||||
EQEmuCommand::ValidateCmdInput(arguments, options, cmd, argc, argv);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user