提交 9c88ace9 编写于 作者: A antirez

SCAN option name changed: pattern -> match.

上级 b63fbea5
......@@ -360,7 +360,7 @@ void scanCommand(redisClient *c) {
}
i += 2;
} else if (!strcasecmp(c->argv[i]->ptr, "pattern") && j >= 2) {
} else if (!strcasecmp(c->argv[i]->ptr, "match") && j >= 2) {
pat = c->argv[i+1]->ptr;
patlen = sdslen(pat);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册