1
1
mirror of https://github.com/profanity-im/profanity.git synced 2025-02-02 15:08:15 -05:00

Merge pull request #1325 from wstrm/docs/improve-correction-help

Mention the related commands for /correct and /correction
This commit is contained in:
Michael Vetter 2020-04-25 09:06:10 +02:00 committed by GitHub
commit 570863df1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2394,8 +2394,9 @@ static struct cmd_t command_defs[] =
"/correction <on>|<off>",
"/correction char <char>")
CMD_DESC(
"Settings regarding Last Message Correction (XEP-0308)."
"Corrections will only work in MUC and regular chat windows. MUC PMs won't be allowed.")
"Settings regarding Last Message Correction (XEP-0308). "
"Corrections will only work in MUC and regular chat windows. MUC PMs won't be allowed. "
"For more information on how to correct messages, see: /help correct.")
CMD_ARGS(
{ "on|off", "Enable/Disable support for last message correction."},
{ "char", "Set character that will prefix corrected messages. Default: '+'."})
@ -2413,7 +2414,8 @@ static struct cmd_t command_defs[] =
"/correct <message>")
CMD_DESC(
"Correct and resend the last message (XEP-0308). "
"Use tab completion to get the last send message.")
"Use tab completion to get the last sent message. "
"For more information on how to configure corrections, see: /help correction.")
CMD_ARGS(
{ "message", "The corrected message."})
CMD_NOEXAMPLES