Describe the bug
The documentation for blmove indicates that it should work similarly to lmove in that a source destination and left/right directions are to be used (twice).
To reproduce
127.0.0.1:6379> RPUSH mylist "one"
(integer) 1
127.0.0.1:6379> RPUSH mylist "two"
(integer) 2
127.0.0.1:6379> RPUSH myslist "three"
(integer) 1
127.0.0.1:6379> BLMOVE mylist eldos LEFT RIGHT
(error) ERR wrong number of arguments for 'blmove' command
Expected behavior
Same as lmove, which works.
Additional information
Validated with redis 6.2.4, and 6.2.5.
Comment From: enjoy-binbin
Maybe you are missing a timeout? like BLMOVE mylist eldos LEFT RIGHT 0
Comment From: madolson
Timeout is indeed a required arg for BLMOVE
Comment From: chayim
Confirmed. The docs are updated to reflect the timeout, and I've validated the use with redis-cli. Closing.