Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/cli_commands.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ struct commandDocs {
int numargs;
cliCommandArg *args; /* An array of the command arguments. */
struct commandDocs *subcommands;
int member_key_index; /* unused in CLI, present for commands.def compatibility */
int member_key_step;
int member_key_count;
char *params; /* A string describing the syntax of the command arguments. */
};

Expand Down
44 changes: 22 additions & 22 deletions src/commands.def

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions src/commands/hdel.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"group": "hash",
"since": "2.0.0",
"arity": -3,
"member_key_index": 2,
"function": "hdelCommand",
"history": [
[
Expand Down
1 change: 1 addition & 0 deletions src/commands/hexists.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"group": "hash",
"since": "2.0.0",
"arity": 3,
"member_key_index": 2,
"function": "hexistsCommand",
"command_flags": [
"READONLY",
Expand Down
1 change: 1 addition & 0 deletions src/commands/hexpiretime.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"group": "hash",
"since": "9.0.0",
"arity": -5,
"member_key_index": 4,
"function": "hexpiretimeCommand",
"command_flags": [
"READONLY",
Expand Down
1 change: 1 addition & 0 deletions src/commands/hget.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"group": "hash",
"since": "2.0.0",
"arity": 3,
"member_key_index": 2,
"function": "hgetCommand",
"command_flags": [
"READONLY",
Expand Down
1 change: 1 addition & 0 deletions src/commands/hgetdel.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"group": "hash",
"since": "9.1.0",
"arity": -5,
"member_key_index": 4,
"function": "hgetdelCommand",
"command_flags": [
"WRITE",
Expand Down
2 changes: 2 additions & 0 deletions src/commands/hincrby.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"group": "hash",
"since": "2.0.0",
"arity": 4,
"member_key_index": 2,
"member_key_count": 1,
"function": "hincrbyCommand",
"command_flags": [
"WRITE",
Expand Down
2 changes: 2 additions & 0 deletions src/commands/hincrbyfloat.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"group": "hash",
"since": "2.6.0",
"arity": 4,
"member_key_index": 2,
"member_key_count": 1,
"function": "hincrbyfloatCommand",
"command_flags": [
"WRITE",
Expand Down
1 change: 1 addition & 0 deletions src/commands/hmget.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"group": "hash",
"since": "2.0.0",
"arity": -3,
"member_key_index": 2,
"function": "hmgetCommand",
"command_flags": [
"READONLY",
Expand Down
2 changes: 2 additions & 0 deletions src/commands/hmset.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"group": "hash",
"since": "2.0.0",
"arity": -4,
"member_key_index": 2,
"member_key_step": 2,
"function": "hsetCommand",
"command_flags": [
"WRITE",
Expand Down
1 change: 1 addition & 0 deletions src/commands/hpersist.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"group": "hash",
"since": "9.0.0",
"arity": -5,
"member_key_index": 4,
"function": "hpersistCommand",
"command_flags": [
"WRITE",
Expand Down
1 change: 1 addition & 0 deletions src/commands/hpexpiretime.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"group": "hash",
"since": "9.0.0",
"arity": -5,
"member_key_index": 4,
"function": "hpexpiretimeCommand",
"command_flags": [
"READONLY",
Expand Down
1 change: 1 addition & 0 deletions src/commands/hpttl.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"group": "hash",
"since": "9.0.0",
"arity": -5,
"member_key_index": 4,
"function": "hpttlCommand",
"command_flags": [
"READONLY",
Expand Down
2 changes: 2 additions & 0 deletions src/commands/hset.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"group": "hash",
"since": "2.0.0",
"arity": -4,
"member_key_index": 2,
"member_key_step": 2,
"function": "hsetCommand",
"history": [
[
Expand Down
2 changes: 2 additions & 0 deletions src/commands/hsetnx.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"group": "hash",
"since": "2.0.0",
"arity": 4,
"member_key_index": 2,
"member_key_count": 1,
"function": "hsetnxCommand",
"command_flags": [
"WRITE",
Expand Down
1 change: 1 addition & 0 deletions src/commands/hstrlen.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"group": "hash",
"since": "3.2.0",
"arity": 3,
"member_key_index": 2,
"function": "hstrlenCommand",
"command_flags": [
"READONLY",
Expand Down
1 change: 1 addition & 0 deletions src/commands/httl.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"group": "hash",
"since": "9.0.0",
"arity": -5,
"member_key_index": 4,
"function": "httlCommand",
"command_flags": [
"READONLY",
Expand Down
2 changes: 2 additions & 0 deletions src/commands/zincrby.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"group": "sorted_set",
"since": "1.2.0",
"arity": 4,
"member_key_index": 3,
"member_key_count": 1,
"function": "zincrbyCommand",
"command_flags": [
"WRITE",
Expand Down
1 change: 1 addition & 0 deletions src/commands/zmscore.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"group": "sorted_set",
"since": "6.2.0",
"arity": -3,
"member_key_index": 2,
"function": "zmscoreCommand",
"command_flags": [
"READONLY",
Expand Down
2 changes: 2 additions & 0 deletions src/commands/zrank.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"group": "sorted_set",
"since": "2.0.0",
"arity": -3,
"member_key_index": 2,
"member_key_count": 1,
"function": "zrankCommand",
"history": [
[
Expand Down
1 change: 1 addition & 0 deletions src/commands/zrem.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"group": "sorted_set",
"since": "1.2.0",
"arity": -3,
"member_key_index": 2,
"function": "zremCommand",
"history": [
[
Expand Down
2 changes: 2 additions & 0 deletions src/commands/zrevrank.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
"group": "sorted_set",
"since": "2.0.0",
"arity": -3,
"member_key_index": 2,
"member_key_count": 1,
"function": "zrevrankCommand",
"history": [
[
Expand Down
1 change: 1 addition & 0 deletions src/commands/zscore.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"group": "sorted_set",
"since": "1.2.0",
"arity": 3,
"member_key_index": 2,
"function": "zscoreCommand",
"command_flags": [
"READONLY",
Expand Down
Loading
Loading