antirez/redis — Issue #306: redis-cli incorrect prompt string on socket connect
Author: jamarshall
Created: 2012-01-19 19:23:56+00:00
State: open

I have a redis 2.4.6 installation under Linux. It is configured to listen on port 6111 and domain socket /tmp/redis.sock .

When I do
` redis-cli -s /tmp/redis.sock`
I get the following prompt:
` redis 127.0.0.1:6379>`

My server is NOT listening on port 6379. So this prompt is incorrect.

Can you change it to show the socket name when -s is used? The correct prompt would be:
` redis /tmp/redis.sock> `

Thank you!