SCAN option name changed: pattern -> match.

This commit is contained in:
antirez
2013-10-29 16:19:17 +01:00
parent fd22106a98
commit 33409b4c6c
+1 -1
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);