summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2018-10-25 13:08:48 +0200
committerantirez <antirez@gmail.com>2018-10-25 13:08:48 +0200
commitf5494b186260edd794679be8e2173e5cc7cd6977 (patch)
treea67047b19b2ee5de481608ee2860aed8c9db4153 /src
parent998001fbf2aeb58286c440cd55804bf43f87b30e (diff)
downloadredis-f5494b186260edd794679be8e2173e5cc7cd6977.tar.gz
Add command fingerprint comment for XSETID.
Diffstat (limited to 'src')
-rw-r--r--src/t_stream.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/t_stream.c b/src/t_stream.c
index 59eda1b84..e37b6582a 100644
--- a/src/t_stream.c
+++ b/src/t_stream.c
@@ -1821,7 +1821,9 @@ NULL
}
}
-/* Set the internal "last ID" of a stream. */
+/* XSETID <stream> <groupname> <id>
+ *
+ * Set the internal "last ID" of a stream. */
void xsetidCommand(client *c) {
robj *o = lookupKeyWriteOrReply(c,c->argv[1],shared.nokeyerr);
if (o == NULL || checkType(c,o,OBJ_STREAM)) return;