Skip to content

Commit

Permalink
Fix spelling verion => version
Browse files Browse the repository at this point in the history
  • Loading branch information
zuiderkwast committed Mar 26, 2024
1 parent 01133df commit 1268ea6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/commands.def
Original file line number Diff line number Diff line change
Expand Up @@ -10788,7 +10788,7 @@ struct COMMAND_STRUCT redisCommandTable[] = {
{MAKE_CMD("info","Returns information and statistics about the server.","O(1)","1.0.0",CMD_DOC_NONE,NULL,NULL,"server",COMMAND_GROUP_SERVER,INFO_History,1,INFO_Tips,3,infoCommand,-1,CMD_LOADING|CMD_STALE|CMD_SENTINEL,ACL_CATEGORY_DANGEROUS,INFO_Keyspecs,0,NULL,1),.args=INFO_Args},
{MAKE_CMD("lastsave","Returns the Unix timestamp of the last successful save to disk.","O(1)","1.0.0",CMD_DOC_NONE,NULL,NULL,"server",COMMAND_GROUP_SERVER,LASTSAVE_History,0,LASTSAVE_Tips,1,lastsaveCommand,1,CMD_LOADING|CMD_STALE|CMD_FAST,ACL_CATEGORY_ADMIN|ACL_CATEGORY_DANGEROUS,LASTSAVE_Keyspecs,0,NULL,0)},
{MAKE_CMD("latency","A container for latency diagnostics commands.","Depends on subcommand.","2.8.13",CMD_DOC_NONE,NULL,NULL,"server",COMMAND_GROUP_SERVER,LATENCY_History,0,LATENCY_Tips,0,NULL,-2,0,0,LATENCY_Keyspecs,0,NULL,0),.subcommands=LATENCY_Subcommands},
{MAKE_CMD("lolwut","Displays computer art and the server verion",NULL,"5.0.0",CMD_DOC_NONE,NULL,NULL,"server",COMMAND_GROUP_SERVER,LOLWUT_History,0,LOLWUT_Tips,0,lolwutCommand,-1,CMD_READONLY|CMD_FAST,0,LOLWUT_Keyspecs,0,NULL,1),.args=LOLWUT_Args},
{MAKE_CMD("lolwut","Displays computer art and the server version",NULL,"5.0.0",CMD_DOC_NONE,NULL,NULL,"server",COMMAND_GROUP_SERVER,LOLWUT_History,0,LOLWUT_Tips,0,lolwutCommand,-1,CMD_READONLY|CMD_FAST,0,LOLWUT_Keyspecs,0,NULL,1),.args=LOLWUT_Args},
{MAKE_CMD("memory","A container for memory diagnostics commands.","Depends on subcommand.","4.0.0",CMD_DOC_NONE,NULL,NULL,"server",COMMAND_GROUP_SERVER,MEMORY_History,0,MEMORY_Tips,0,NULL,-2,0,0,MEMORY_Keyspecs,0,NULL,0),.subcommands=MEMORY_Subcommands},
{MAKE_CMD("module","A container for module commands.","Depends on subcommand.","4.0.0",CMD_DOC_NONE,NULL,NULL,"server",COMMAND_GROUP_SERVER,MODULE_History,0,MODULE_Tips,0,NULL,-2,0,0,MODULE_Keyspecs,0,NULL,0),.subcommands=MODULE_Subcommands},
{MAKE_CMD("monitor","Listens for all requests received by the server in real-time.",NULL,"1.0.0",CMD_DOC_NONE,NULL,NULL,"server",COMMAND_GROUP_SERVER,MONITOR_History,0,MONITOR_Tips,0,monitorCommand,1,CMD_ADMIN|CMD_NOSCRIPT|CMD_LOADING|CMD_STALE,0,MONITOR_Keyspecs,0,NULL,0)},
Expand Down
6 changes: 3 additions & 3 deletions src/commands/command-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"type": "string"
},
"since": {
"description": "the server verion that added the command (or for module commands, the module version).",
"description": "the server version that added the command (or for module commands, the module version).",
"type": "string"
},
"group": {
Expand Down Expand Up @@ -118,7 +118,7 @@
}
},
"deprecated_since": {
"description": "the server verion that deprecated the command (or for module commands, the module version)",
"description": "the server version that deprecated the command (or for module commands, the module version)",
"type": "string"
},
"replaced_by": {
Expand All @@ -135,7 +135,7 @@
"items": [
{
"type": "string",
"description": "The server verion that the entry applies to."
"description": "The server version that the entry applies to."
},
{
"type": "string",
Expand Down
4 changes: 2 additions & 2 deletions src/commands/lolwut.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"LOLWUT": {
"summary": "Displays computer art and the server verion",
"summary": "Displays computer art and the server version",
"group": "server",
"since": "5.0.0",
"arity": -1,
Expand All @@ -11,7 +11,7 @@
],
"reply_schema": {
"type": "string",
"description": "String containing the generative computer art, and a text with the server verion."
"description": "String containing the generative computer art, and a text with the server version."
},
"arguments": [
{
Expand Down

0 comments on commit 1268ea6

Please sign in to comment.