mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Applies addReplySubSyntaxError to stream commands
This commit is contained in:
parent
e654b68d1f
commit
6b675b9525
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user