1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-01-03 14:57:42 -05:00

Rewrite stamp help

This commit is contained in:
Michael Vetter 2022-04-28 19:26:59 +02:00
parent 2c003dd2e1
commit 69a8fdec95

View File

@ -2417,22 +2417,20 @@ static struct cmd_t command_defs[] = {
CMD_MAINFUNC(cmd_stamp) CMD_MAINFUNC(cmd_stamp)
CMD_TAGS( CMD_TAGS(
CMD_TAG_UI) CMD_TAG_UI)
CMD_SYN( CMD_SYN("/stamp outgoing <string>",
"/stamp outgoing <string>",
"/stamp incoming <string>", "/stamp incoming <string>",
"/stamp unset outgoing|incoming") "/stamp unset outgoing|incoming")
CMD_DESC( CMD_DESC("Set chat window stamp. "
"Set chat window stamp values. " "The format of line in the chat window is: \"<timestamp> <encryption sign> <stamp> <message>\" "
"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 outgoing messages. "
"where <stamp> is \"me:\" for incoming messages or \"username@server/resource\" for outcoming messages. " "This command allows to change <stamp> value.")
"This command allows to change <stamp> value.") CMD_ARGS({ "outgoing", "Set outgoing stamp" },
CMD_ARGS( { "incoming", "Set incoming stamp"},
{ "outgoing", "Set outgoing messages stamp" }, { "unset outgoing|incoming", "Use the defaults"})
{ "incoming", "Set incoming stamp"},
{ "unset outgoing|incoming", "unset stamp"})
CMD_EXAMPLES( CMD_EXAMPLES(
"/stamp outgoing -->", "/stamp outgoing -->",
"/stamp incoming <--") "/stamp incoming <--",
"/stamp unset incoming")
}, },
{ "/avatar", { "/avatar",