Commit 9c88ace9 authored by antirez's avatar antirez
Browse files

SCAN option name changed: pattern -> match.

parent b63fbea5
...@@ -360,7 +360,7 @@ void scanCommand(redisClient *c) { ...@@ -360,7 +360,7 @@ void scanCommand(redisClient *c) {
} }
i += 2; 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; pat = c->argv[i+1]->ptr;
patlen = sdslen(pat); patlen = sdslen(pat);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment