Fix command reset's arity (#8212)

This commit is contained in:
sundb 2020-12-18 20:55:39 +08:00 committed by GitHub
parent 11b3325e99
commit 51eb0da824
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}
};