Applies addReplySubSyntaxError to stream commands

This commit is contained in:
Itamar Haber 2018-06-12 14:52:50 +03:00
parent e654b68d1f
commit 6b675b9525

View File

@ -1634,7 +1634,7 @@ NULL
} else if (!strcasecmp(opt,"HELP")) {
addReplyHelp(c, help);
} else {
addReply(c,shared.syntaxerr);
addReplySubSyntaxError(c);
}
}
@ -2261,7 +2261,7 @@ NULL
STREAM_RWR_RAWENTRIES,NULL);
if (!count) addReply(c,shared.nullbulk);
} else {
addReplyError(c,"syntax error, try 'XINFO HELP'");
addReplySubSyntaxError(c);
}
}