From 08a4f12e76c0edd4cdaadf4b4d1b39e1c57ff331 Mon Sep 17 00:00:00 2001 From: antirez Date: Tue, 30 Oct 2012 18:57:20 +0100 Subject: [PATCH] help.h update (adds bitop, bitcount, evalsha...) --- src/help.h | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/src/help.h b/src/help.h index 406fb224..1378b8b8 100644 --- a/src/help.h +++ b/src/help.h @@ -44,6 +44,16 @@ struct commandHelp { "Asynchronously save the dataset to disk", 9, "1.0.0" }, + { "BITCOUNT", + "key [start] [end]", + "Count set bits in a string", + 1, + "2.6.0" }, + { "BITOP", + "operation destkey key [key ...]", + "Perform bitwise operations between strings", + 1, + "2.6.0" }, { "BLPOP", "key [key ...] timeout", "Remove and get the first element in a list, or block until one is available", @@ -59,6 +69,16 @@ struct commandHelp { "Pop a value from a list, push it to another list and return it; or block until one is available", 2, "2.2.0" }, + { "CLIENT KILL", + "ip:port", + "Kill the connection of a client", + 9, + "2.4.0" }, + { "CLIENT LIST", + "-", + "Get the list of client connections", + 9, + "2.4.0" }, { "CONFIG GET", "parameter", "Get the value of a configuration parameter", @@ -111,7 +131,7 @@ struct commandHelp { "2.0.0" }, { "DUMP", "key", - "Return a serialized verison of the value stored at the specified key.", + "Return a serialized version of the value stored at the specified key.", 0, "2.6.0" }, { "ECHO", @@ -124,6 +144,11 @@ struct commandHelp { "Execute a Lua script server side", 10, "2.6.0" }, + { "EVALSHA", + "sha1 numkeys key [key ...] arg [arg ...]", + "Execute a Lua script server side", + 10, + "2.6.0" }, { "EXEC", "-", "Execute all commands issued after MULTI", @@ -575,8 +600,8 @@ struct commandHelp { 3, "1.0.0" }, { "SRANDMEMBER", - "key", - "Get a random member from a set", + "key [count]", + "Get one or multiple random members from a set", 3, "1.0.0" }, { "SREM", -- 2.45.2