summaryrefslogtreecommitdiff
path: root/src/pubsub.c
diff options
context:
space:
mode:
authorWen Hui <wen.hui.ware@gmail.com>2022-04-28 01:13:04 -0400
committerGitHub <noreply@github.com>2022-04-28 08:13:04 +0300
commitf36eac9f68308e712c3f10de11c05982df03b0c6 (patch)
treed7e0a864378a7688894f296563fabe67c431204a /src/pubsub.c
parent89772ed827209c3dca376644498a235ef3edf692 (diff)
downloadredis-f36eac9f68308e712c3f10de11c05982df03b0c6.tar.gz
Update the comments of commands introduced or updated in redis 7.0 (#10659)
Diffstat (limited to 'src/pubsub.c')
-rw-r--r--src/pubsub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pubsub.c b/src/pubsub.c
index a630afc8f..07459c1c8 100644
--- a/src/pubsub.c
+++ b/src/pubsub.c
@@ -708,7 +708,7 @@ void ssubscribeCommand(client *c) {
}
-/* SUNSUBSCRIBE [channel ...] */
+/* SUNSUBSCRIBE [channel [channel ...]] */
void sunsubscribeCommand(client *c) {
if (c->argc == 1) {
pubsubUnsubscribeShardAllChannels(c, 1);