diff --git a/src/t_stream.c b/src/t_stream.c
index f1eee6eb5..6244c7844 100644
--- a/src/t_stream.c
+++ b/src/t_stream.c
@@ -1892,7 +1892,7 @@ void xackCommand(client *c) {
     addReplyLongLong(c,acknowledged);
 }
 
-/* XPENDING <key> <group> [<start> <stop> <count>] [<consumer>]
+/* XPENDING <key> <group> [<start> <stop> <count> [<consumer>]]
  *
  * If start and stop are omitted, the command just outputs information about
  * the amount of pending messages for the key/group pair, together with