summaryrefslogtreecommitdiffstats
path: root/src/commands/quit.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/quit.json')
-rw-r--r--src/commands/quit.json29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/commands/quit.json b/src/commands/quit.json
new file mode 100644
index 0000000..e8dd6e9
--- /dev/null
+++ b/src/commands/quit.json
@@ -0,0 +1,29 @@
+{
+ "QUIT": {
+ "summary": "Closes the connection.",
+ "complexity": "O(1)",
+ "group": "connection",
+ "since": "1.0.0",
+ "arity": -1,
+ "function": "quitCommand",
+ "deprecated_since": "7.2.0",
+ "replaced_by": "just closing the connection",
+ "doc_flags": [
+ "DEPRECATED"
+ ],
+ "command_flags": [
+ "ALLOW_BUSY",
+ "NOSCRIPT",
+ "LOADING",
+ "STALE",
+ "FAST",
+ "NO_AUTH"
+ ],
+ "acl_categories": [
+ "CONNECTION"
+ ],
+ "reply_schema": {
+ "const": "OK"
+ }
+ }
+}