Fix command reset's arity (#8212)

This commit is contained in:
sundb
2020-12-18 14:55:39 +02:00
committed by GitHub
parent 11b3325e99
commit 51eb0da824
+1 -1
View File
@@ -1059,7 +1059,7 @@ struct redisCommand redisCommandTable[] = {
"read-only @string",
0,lcsGetKeys,0,0,0,0,0,0},
{"reset",resetCommand,-1,
{"reset",resetCommand,1,
"no-script ok-stale ok-loading fast @connection",
0,NULL,0,0,0,0,0,0}
};