Globally applies addReplySubSyntaxError

This commit is contained in:
Itamar Haber
2018-06-07 18:39:36 +03:00
parent 76ad23d012
commit c199280edb
8 changed files with 8 additions and 12 deletions

View File

@ -1197,7 +1197,7 @@ NULL
* when the key is read or overwritten. */
addReplyLongLong(c,LFUDecrAndReturn(o));
} else {
addReplyErrorFormat(c, "Unknown subcommand or wrong number of arguments for '%s'. Try OBJECT help", (char *)c->argv[1]->ptr);
addReplySubSyntaxError(c);
}
}