mirror of
https://github.com/EQEmu/Server.git
synced 2026-12-01 16:32:21 +00:00
[CLI] Console menu validation fixes (#3413)
This commit is contained in:
1 parent
53563b9720
commit
3200145d01
2 files changed
+3
-3
No files matched your search
@@ -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"}];
|
||||
|
||||
|
||||
Reference in new issue
Block a user