From fac3e8aab55671bc8842214e7384f4174deb6578 Mon Sep 17 00:00:00 2001 From: Baoyi Chen <chen.bao.yi@qq.com> Date: Tue, 12 Jun 2018 08:52:18 +0800 Subject: [PATCH] fix typo fix [#5005](https://github.com/antirez/redis/issues/5005) --- src/t_stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/t_stream.c b/src/t_stream.c index c826f160..2e70681f 100644 --- a/src/t_stream.c +++ b/src/t_stream.c @@ -1554,13 +1554,13 @@ uint64_t streamDelConsumer(streamCG *cg, sds name) { /* XGROUP CREATE <key> <groupname> <id or $> * XGROUP SETID <key> <id or $> - * XGROUP DELGROUP <key> <groupname> + * XGROUP DESTROY <key> <groupname> * XGROUP DELCONSUMER <key> <groupname> <consumername> */ void xgroupCommand(client *c) { const char *help[] = { "CREATE <key> <groupname> <id or $> -- Create a new consumer group.", "SETID <key> <groupname> <id or $> -- Set the current group ID.", -"DELGROUP <key> <groupname> -- Remove the specified group.", +"DESTROY <key> <groupname> -- Remove the specified group.", "DELCONSUMER <key> <groupname> <consumer> -- Remove the specified conusmer.", "HELP -- Prints this help.", NULL