about summary refs log tree commit diff stats
path: root/src/command/cmd_defs.c
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2020-02-12 14:45:26 +0100
committerMichael Vetter <jubalh@iodoru.org>2020-02-14 10:17:07 +0100
commit1072cdab0add1389d0ab6667aceecf64e583fcc4 (patch)
tree56734599371651f1e51e6b61818d456e5eab15b5 /src/command/cmd_defs.c
parentbc571a387d3fa82e1746a7c7c2dc80283879a1ec (diff)
downloadprofani-tty-1072cdab0add1389d0ab6667aceecf64e583fcc4.tar.gz
xep-0308: Fix sending corrections for multiple words
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r--src/command/cmd_defs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index db719b17..a7b7e49c 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -2393,8 +2393,10 @@ static struct cmd_t command_defs[] =
         CMD_DESC(
             "Correct and resend the last message (XEP-0308).")
         CMD_ARGS(
-            { "<message>",    "The corrected message."})
-        CMD_NOEXAMPLES
+            { "\"message\"",    "The corrected message. Multiple words need quotation marks."})
+        CMD_EXAMPLES(
+            "/correct Profanity",
+            "/correct \"Profanity is the best\"")
     },
 };