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>2022-06-22 10:02:42 +0200
committerMichael Vetter <jubalh@iodoru.org>2022-06-22 11:32:27 +0200
commit9f13b9e93950575160545f0fe2d6887eaf501c09 (patch)
treeba27642f639300ab9588944c41744743d2e9b355 /src/command/cmd_defs.c
parentf4d8728809640a812e02eb6974989f4e08f9a38b (diff)
downloadprofani-tty-9f13b9e93950575160545f0fe2d6887eaf501c09.tar.gz
Make mood display optional
Diffstat (limited to 'src/command/cmd_defs.c')
-rw-r--r--src/command/cmd_defs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index 411de396..8c9767d4 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -2720,11 +2720,13 @@ static struct cmd_t command_defs[] = {
       CMD_TAGS(
               CMD_TAG_CHAT)
       CMD_SYN(
+              "/mood on|off",
               "/mood set <mood> [text]",
               "/mood clear")
       CMD_DESC(
               "Set your mood (XEP-0107).")
       CMD_ARGS(
+              { "on|off", "Enable or disable displaying the mood of other users. On by default."},
               { "set <mood> [text]", "Set user mood to <mood> with an optional [text]. Use /mood set <tab> to toggle through predfined moods." },
               { "clear", "Clear your user mood." })
       CMD_EXAMPLES(