about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-04-28 19:26:59 +0200
committerMichael Vetter <jubalh@iodoru.org>2022-04-28 19:26:59 +0200
commit69a8fdec95c1aef1345972f66e07277510a50983 (patch)
tree9cd6cf859515af735fa9da21a76e958a78ccb733 /src
parent2c003dd2e1a1fb956de6ed58c073e5b9d1cc5f3c (diff)
downloadprofani-tty-69a8fdec95c1aef1345972f66e07277510a50983.tar.gz
Rewrite stamp help
Diffstat (limited to 'src')
-rw-r--r--src/command/cmd_defs.c22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index db42be1c..0d4a3b19 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -2417,22 +2417,20 @@ static struct cmd_t command_defs[] = {
       CMD_MAINFUNC(cmd_stamp)
       CMD_TAGS(
               CMD_TAG_UI)
-      CMD_SYN(
-              "/stamp outgoing <string>",
+      CMD_SYN("/stamp outgoing <string>",
               "/stamp incoming <string>",
               "/stamp unset outgoing|incoming")
-      CMD_DESC(
-              "Set chat window stamp values. "
-              "Current format of single log-line in the chat window next: \"<timestamp> <encryption sign> <stamp> <message>\" "
-              "where <stamp> is \"me:\" for incoming messages or \"username@server/resource\" for outcoming messages. "
-              "This command allows to change <stamp> value.")
-      CMD_ARGS(
-              { "outgoing", "Set outgoing messages stamp" },
-              { "incoming", "Set incoming stamp"},
-              { "unset outgoing|incoming", "unset stamp"})
+      CMD_DESC("Set chat window stamp. "
+               "The format of line in the chat window is: \"<timestamp> <encryption sign> <stamp> <message>\" "
+               "where <stamp> is \"me:\" for incoming messages or \"username@server/resource\" for outgoing messages. "
+               "This command allows to change <stamp> value.")
+      CMD_ARGS({ "outgoing", "Set outgoing stamp" },
+               { "incoming", "Set incoming stamp"},
+               { "unset outgoing|incoming", "Use the defaults"})
       CMD_EXAMPLES(
               "/stamp outgoing -->",
-              "/stamp incoming <--")
+              "/stamp incoming <--",
+              "/stamp unset incoming")
     },
 
     { "/avatar",