X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/500ece7c1721fa2d5f7cddfda23be9da70e103ee..454eea7c44b5dc54690aea71d6411d241148f12d:/redis-cli.c diff --git a/redis-cli.c b/redis-cli.c index 1a45e035..5760da15 100644 --- a/redis-cli.c +++ b/redis-cli.c @@ -150,6 +150,7 @@ static struct redisCommand cmdTable[] = { {"exec",1,REDIS_CMD_INLINE}, {"discard",1,REDIS_CMD_INLINE}, {"hset",4,REDIS_CMD_MULTIBULK}, + {"hincrby",4,REDIS_CMD_INLINE}, {"hget",3,REDIS_CMD_BULK}, {"hdel",3,REDIS_CMD_BULK}, {"hlen",2,REDIS_CMD_INLINE}, @@ -158,6 +159,9 @@ static struct redisCommand cmdTable[] = { {"hgetall",2,REDIS_CMD_INLINE}, {"hexists",3,REDIS_CMD_BULK}, {"config",-2,REDIS_CMD_BULK}, + {"subscribe",-2,REDIS_CMD_INLINE}, + {"unsubscribe",-1,REDIS_CMD_INLINE}, + {"publish",3,REDIS_CMD_BULK}, {NULL,0,0} };