[CLI] Console menu validation fixes (#3413)

This commit is contained in:
Chris Miles
2023-06-17 18:19:55 -05:00
committed by GitHub
parent 53563b9720
commit 3200145d01
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -23,12 +23,12 @@ void WorldserverCLI::DatabaseDump(int argc, char **argv, argh::parser &cmd, std:
"--compress"
};
EQEmuCommand::ValidateCmdInput(arguments, options, cmd, argc, argv);
if (cmd[{"-h", "--help"}]) {
return;
}
EQEmuCommand::ValidateCmdInput(arguments, options, cmd, argc, argv);
auto s = new DatabaseDumpService();
bool dump_all = cmd[{"-a", "--all"}];