Skip to content

Commit

Permalink
Fix argument spec for subscribe/psubscribe
Browse files Browse the repository at this point in the history
  • Loading branch information
pietern committed Mar 25, 2011
1 parent d6f8cb3 commit db6a0d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions commands.json
Expand Up @@ -782,7 +782,8 @@
"arguments": [
{
"name": ["pattern"],
"type": ["pattern"]
"type": ["pattern"],
"multiple": true
}
],
"since": "1.3.8",
Expand Down Expand Up @@ -1263,7 +1264,8 @@
"arguments": [
{
"name": ["channel"],
"type": ["string"]
"type": ["string"],
"multiple": true
}
],
"since": "1.3.8",
Expand Down
4 changes: 2 additions & 2 deletions commands/subscribe.md
@@ -1,8 +1,8 @@
@complexity

O(1).
O(N) where N is the number of channels to subscribe to.

Subscribes the client to the given channel.
Subscribes the client to the specified channels.

Once the client enters the subscripted state it is not supposed to issue
any other commands, expect for additional `SUBSCRIBE`, `PSUBSCRIBE`,
Expand Down

0 comments on commit db6a0d9

Please sign in to comment.