summaryrefslogtreecommitdiff
path: root/redis-cli.c
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2009-05-23 10:56:32 +0200
committerantirez <antirez@gmail.com>2009-05-23 10:56:32 +0200
commit321b0e13f6d48e61ee558c2ba32e86430bbe55af (patch)
treed0a28b18d4473950fd11e7e4221c4ddaeda2ab36 /redis-cli.c
parentc7cf2ec97cc81a854ab58fd6755dcfe1cbc3fdc9 (diff)
downloadredis-321b0e13f6d48e61ee558c2ba32e86430bbe55af.tar.gz
SLAVEOF command implemented for replication remote control
Diffstat (limited to 'redis-cli.c')
-rw-r--r--redis-cli.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/redis-cli.c b/redis-cli.c
index 85652d2c1..d008d6e25 100644
--- a/redis-cli.c
+++ b/redis-cli.c
@@ -110,6 +110,7 @@ static struct redisCommand cmdTable[] = {
{"mget",-2,REDIS_CMD_INLINE},
{"expire",3,REDIS_CMD_INLINE},
{"ttl",2,REDIS_CMD_INLINE},
+ {"slaveof",3,REDIS_CMD_INLINE},
{NULL,0,0}
};