提交 ff1dccd4 编写于 作者: P prcyangli 提交者: SongZhao

modify the error diplay in bitcount command (#81)

modify the error diplay in bitcount command
上级 4c240f70
...@@ -83,7 +83,7 @@ void BitGetCmd::Do() { ...@@ -83,7 +83,7 @@ void BitGetCmd::Do() {
void BitCountCmd::DoInitial(PikaCmdArgsType &argv, const CmdInfo* const ptr_info) { void BitCountCmd::DoInitial(PikaCmdArgsType &argv, const CmdInfo* const ptr_info) {
if (!ptr_info->CheckArg(argv.size())) { if (!ptr_info->CheckArg(argv.size())) {
res_.SetRes(CmdRes::kWrongNum, kCmdNameSet); res_.SetRes(CmdRes::kWrongNum, kCmdNameBitCount);
return; return;
} }
key_ = argv[1]; key_ = argv[1];
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册