From 69a8fdec95c1aef1345972f66e07277510a50983 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Thu, 28 Apr 2022 19:26:59 +0200 Subject: Rewrite stamp help --- src/command/cmd_defs.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'src') 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 ", + CMD_SYN("/stamp outgoing ", "/stamp incoming ", "/stamp unset outgoing|incoming") - CMD_DESC( - "Set chat window stamp values. " - "Current format of single log-line in the chat window next: \" \" " - "where is \"me:\" for incoming messages or \"username@server/resource\" for outcoming messages. " - "This command allows to change 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: \" \" " + "where is \"me:\" for incoming messages or \"username@server/resource\" for outgoing messages. " + "This command allows to change 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", -- cgit 1.4.1-2-gfad0