redis_version:6.0.3
Use Case 1:
No arguments given for STRALGO LCS STRINGS command.
➜ ~ redis-cli
127.0.0.1:6379> STRALGO LCS STRINGS
Could not connect to Redis at 127.0.0.1:6379: Connection refused
not connected>
Use Case 2:
Only one string argument provided for STRALGO LCS STRINGS command.
➜ ~ redis-cli
127.0.0.1:6379> STRALGO LCS STRINGS ohmytext
Could not connect to Redis at 127.0.0.1:6379: Connection refused
not connected>
Both these scenarios lead to lost redis connection from command line