PUBSUB HELP

Since 1.1.0Pub/Sub

Syntax

PUBSUB HELP

Lists the PUBSUB subcommands, one line each with its arguments, followed by an indented line saying what it does: CHANNELS, NUMPAT, NUMSUB, SHARDCHANNELS, SHARDNUMSUB and HELP. The text is the server's own summary, useful from a command line; each subcommand has its own page here.

Reply

An array of status lines.

Examples

> PUBSUB HELP
 1) PUBSUB <subcommand> [<arg> [value] [opt] ...]. Subcommands are:
 2) CHANNELS [<pattern>]
 3)     Return the currently active channels matching a <pattern> (default: '*').
 4) NUMPAT
 5)     Return number of subscriptions to patterns.
...
12) HELP
13)     Print this help.