As of 95b988b, using the redis-cli -r -1 for continuously running the same command is broken. According to the documentation:

To run the same command forever, use -1 as count.

/cc @artix75

Credit: https://stackoverflow.com/questions/56260694/redis-cli-using-r-1-exits-immediately-instead-of-running-command-indefinite

Comment From: AngusP

@itamarhaber afaik this was fixed in January with #5743 but the issue seems to exist in 5.0.5; the issue is gone in unstable, at least

Comment From: itamarhaber

Again your memory @AngusP rescues my behind... was certain I saw this issue and fix but, well, here it is. @antirez - is there a reason for not including the fix other than being human?

Comment From: lumaxis

I just ran into this issue. Just to make sure I understand correctly, this is still only in unstable and has not been merged into the 5.0 branch yet, right? What is the process for a fix to make it into a stable release?

This issue is especially confusing since the non-regressed behavior is still described in the official documentation.

Comment From: AngusP

@itamarhaber still the case with 5.0.7 though v6-RC1 (baafd30b / v5.9.101) has the fix

Comment From: oranagra

handled in 5.0.10