SCAN option name changed: pattern -> match.

This commit is contained in:
antirez
2013-10-25 11:45:32 +02:00
parent fd22106a98
commit 33409b4c6c

View File

@ -350,7 +350,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);