Skip to content

Commit

Permalink
[Hotfix] CLI help menu from parsing correctly in World
Browse files Browse the repository at this point in the history
  • Loading branch information
Akkadius committed Jan 22, 2025
1 parent dba494c commit 90c3739
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions world/cli/copy_character.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ void WorldserverCLI::CopyCharacter(int argc, char **argv, argh::parser &cmd, std
"destination_account_name"
};
std::vector<std::string> options = {};

EQEmuCommand::ValidateCmdInput(arguments, options, cmd, argc, argv);


if (cmd[{"-h", "--help"}]) {
return;
}

EQEmuCommand::ValidateCmdInput(arguments, options, cmd, argc, argv);

std::string source_character_name = cmd(2).str();
std::string destination_character_name = cmd(3).str();
std::string destination_account_name = cmd(4).str();
Expand Down

0 comments on commit 90c3739

Please sign in to comment.