16 Commits

Author SHA1 Message Date
antirez
f130bb13f0 Update help.h for redis-cli. 2018-10-17 12:57:21 +02:00
Mustafa Paltun
1d578ca80e Update help.h 2018-06-27 16:33:31 +03:00
antirez
27c22fe45f redis-cli inline help updated. 2018-06-07 18:53:00 +02:00
antirez
c61757e12d redis-cli help.h updated. 2016-06-14 14:45:28 +02:00
antirez
97664f58fc redis-cli help.h updated. 2016-04-13 12:35:18 +02:00
antirez
0260c0489d Update redis-cli help and the script to generate it. 2015-11-17 15:38:34 +01:00
Alon Diamant
582c15db57 Added <count> parameter to SPOP:
spopCommand() now runs spopWithCountCommand() in case the <count> param is found.
Added intsetRandomMembers() to Intset: Copies N random members from the set into inputted 'values' array. Uses either the Knuth or Floyd sample algos depending on ratio count/size.
Added setTypeRandomElements() to SET type: Returns a number of random elements from a non empty set. This is a version of setTypeRandomElement() that is modified in order to return multiple entries, using dictGetRandomKeys() and intsetRandomMembers().
Added tests for SPOP with <count>: unit/type/set, unit/scripting, integration/aof
--
Cleaned up code a bit to match with required Redis coding style
2014-12-14 12:25:42 +02:00
antirez
ae76bfd94a redis-cli help.h updated. 2014-04-22 16:14:38 +02:00
antirez
40949481f9 redis-cli: help.h updated. 2013-05-14 11:23:16 +02:00
antirez
a99306c4b3 help.h update (adds bitop, bitcount, evalsha...) 2012-10-30 18:57:20 +01:00
antirez
4331f96d0d redis-cli commands description in help.h updated. 2012-04-27 15:57:27 +02:00
antirez
c100c83a50 redis-cli help.h updated. Script to generate it updated as well. 2012-04-03 15:30:33 +02:00
antirez
eb3103f5f0 help.h updated 2010-12-15 17:39:40 +01:00
Pieter Noordhuis
c99c78f359 Refactor help-related code into redis-cli.c 2010-11-28 21:37:19 +01:00
Pieter Noordhuis
a3b60c15da Update help.h generator script to output man-style argument list 2010-11-28 17:45:58 +01:00
Tj Holowaychuk
d268e36a27 Added redis-cli interactive help support
updated via commands.json in redis-doc repo. Currently
use `make src/help.h` to re-generate. The following
are valid from the REPL:

  help
  help [command]
  help [group]
  help groups

ex:

  help sort
  help hash
2010-11-16 05:50:26 -08:00