Merge pull request #4488 from itamarhaber/debug_arity

Standardizes arity handling of DEBUG
This commit is contained in:
Salvatore Sanfilippo
2017-12-05 15:29:42 +01:00
committed by GitHub
2 changed files with 1 additions and 6 deletions

View File

@ -283,11 +283,6 @@ void computeDatasetDigest(unsigned char *final) {
}
void debugCommand(client *c) {
if (c->argc == 1) {
addReplyError(c,"You must specify a subcommand for DEBUG. Try DEBUG HELP for info.");
return;
}
if (!strcasecmp(c->argv[1]->ptr,"help")) {
void *blenp = addDeferredMultiBulkLength(c);
int blen = 0;