Skip to content

Commit

Permalink
fix: fix commond params num
Browse files Browse the repository at this point in the history
  • Loading branch information
jettcc committed Nov 29, 2023
1 parent bcfb89c commit 5c041d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd_table_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void CmdTableManager::InitCmdTable() {
std::unique_ptr<BaseCmd> bitcountPtr = std::make_unique<BitCountCmd>(kCmdNameBitCount, -2);
cmds_->insert(std::make_pair(kCmdNameBitCount, std::move(bitcountPtr)));

std::unique_ptr<BaseCmd> incrbyPtr = std::make_unique<IncrbyCmd>(kCmdNameIncrby, -3);
std::unique_ptr<BaseCmd> incrbyPtr = std::make_unique<IncrbyCmd>(kCmdNameIncrby, 3);
cmds_->insert(std::make_pair(kCmdNameIncrby, std::move(incrbyPtr)));
}

Expand Down

0 comments on commit 5c041d5

Please sign in to comment.