XINFO HELP

Since 1.1.0Streams

Syntax

XINFO HELP

Lists the XINFO subcommands, with a line or two on what each does, as Redis does. It takes no argument: XINFO HELP x is ERR wrong number of arguments for 'xinfo|help' command.

It is since 1.2.1. In 1.2.0, XINFO HELP answered ERR wrong number of arguments for 'xinfo' command.

The subcommands are XINFO STREAM, XINFO GROUPS and XINFO CONSUMERS; each has its own page here.

Reply

An array of simple strings: a line for each subcommand and its arguments, each followed by a line that describes it, indented.

Examples

> XINFO HELP
1) XINFO <subcommand> [<arg> [value] [opt] ...]. Subcommands are:
2) CONSUMERS <key> <groupname>
3)     Show consumers of <groupname>.
4) GROUPS <key>
5)     Show the stream consumer groups.
6) STREAM <key> [FULL [COUNT <count>]
7)     Show information about the stream.
8) HELP
9)     Print this help.
> XINFO HELP x
(error) ERR wrong number of arguments for 'xinfo|help' command