Skip to content

Commit

Permalink
Implement LPOS: remove extraneous comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ianstarz committed Aug 8, 2022
1 parent c7dd52d commit d3b1135
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd_list.go
Expand Up @@ -186,7 +186,6 @@ func (m *Miniredis) cmdLpos(c *server.Peer, cmd string, args []string) {
// Redis allows duplicate options and uses the last specified.
// `LPOS key term RANK 1 RANK 2` is effectively the same as
// `LPOS key term RANK 2`
// Default options.
if len(args)%2 == 1 {
setDirty(c)
c.WriteError(msgSyntaxError)
Expand Down

0 comments on commit d3b1135

Please sign in to comment.