summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2018-06-27 18:54:27 +0200
committerGitHub <noreply@github.com>2018-06-27 18:54:27 +0200
commit730a4cfa00824bee7f39f910059fd9995af17a67 (patch)
tree8488d30502011435584bf876057f141bfa262a66
parent2214043b5c84c69279077343846657c17c0214ac (diff)
parent010dc172d40fe5785b380c4a6ebea9d11fa39532 (diff)
downloadredis-730a4cfa00824bee7f39f910059fd9995af17a67.tar.gz
Merge pull request #5067 from mpaltun/mpaltun-doc-fix
Streams documentation fix
-rw-r--r--src/help.h2
-rw-r--r--src/t_stream.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/help.h b/src/help.h
index 005afd941..c89f1f44b 100644
--- a/src/help.h
+++ b/src/help.h
@@ -975,7 +975,7 @@ struct commandHelp {
"5.0.0" },
{ "XPENDING",
"key group [start end count] [consumer]",
- "Return information and entries from a stream conusmer group pending entries list, that are messages fetched but never acknowledged.",
+ "Return information and entries from a stream consumer group pending entries list, that are messages fetched but never acknowledged.",
14,
"5.0.0" },
{ "XRANGE",
diff --git a/src/t_stream.c b/src/t_stream.c
index 6d8fd92ce..16913f37e 100644
--- a/src/t_stream.c
+++ b/src/t_stream.c
@@ -945,7 +945,7 @@ size_t streamReplyWithRange(client *c, stream *s, streamID *start, streamID *end
/* This is an helper function for streamReplyWithRange() when called with
* group and consumer arguments, but with a range that is referring to already
* delivered messages. In this case we just emit messages that are already
- * in the history of the conusmer, fetching the IDs from its PEL.
+ * in the history of the consumer, fetching the IDs from its PEL.
*
* Note that this function does not have a 'rev' argument because it's not
* possible to iterate in reverse using a group. Basically this function
@@ -1571,7 +1571,7 @@ void xgroupCommand(client *c) {
"CREATE <key> <groupname> <id or $> -- Create a new consumer group.",
"SETID <key> <groupname> <id or $> -- Set the current group ID.",
"DESTROY <key> <groupname> -- Remove the specified group.",
-"DELCONSUMER <key> <groupname> <consumer> -- Remove the specified conusmer.",
+"DELCONSUMER <key> <groupname> <consumer> -- Remove the specified consumer.",
"HELP -- Prints this help.",
NULL
};