summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/punsubscribe.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/punsubscribe.md')
-rw-r--r--iredis/data/commands/punsubscribe.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/iredis/data/commands/punsubscribe.md b/iredis/data/commands/punsubscribe.md
new file mode 100644
index 0000000..03ed279
--- /dev/null
+++ b/iredis/data/commands/punsubscribe.md
@@ -0,0 +1,6 @@
+Unsubscribes the client from the given patterns, or from all of them if none is
+given.
+
+When no patterns are specified, the client is unsubscribed from all the
+previously subscribed patterns. In this case, a message for every unsubscribed
+pattern will be sent to the client.