Standardizes arity handling of DEBUG

This commit is contained in:
Itamar Haber
2017-11-28 18:18:45 +02:00
parent 75fa7879e6
commit 8c7f90e91e
2 changed files with 1 additions and 6 deletions

View File

@ -262,11 +262,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;