summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/lrem.md
diff options
context:
space:
mode:
Diffstat (limited to 'iredis/data/commands/lrem.md')
-rw-r--r--iredis/data/commands/lrem.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/iredis/data/commands/lrem.md b/iredis/data/commands/lrem.md
index c06dda7..36c0c7d 100644
--- a/iredis/data/commands/lrem.md
+++ b/iredis/data/commands/lrem.md
@@ -1,10 +1,10 @@
-Removes the first `count` occurrences of elements equal to `element` from the
-list stored at `key`. The `count` argument influences the operation in the
-following ways:
+Removes the first `count` occurrences of elements equal to `element` from the list
+stored at `key`.
+The `count` argument influences the operation in the following ways:
-- `count > 0`: Remove elements equal to `element` moving from head to tail.
-- `count < 0`: Remove elements equal to `element` moving from tail to head.
-- `count = 0`: Remove all elements equal to `element`.
+* `count > 0`: Remove elements equal to `element` moving from head to tail.
+* `count < 0`: Remove elements equal to `element` moving from tail to head.
+* `count = 0`: Remove all elements equal to `element`.
For example, `LREM list -2 "hello"` will remove the last two occurrences of
`"hello"` in the list stored at `list`.