1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Improve ox command help

Mention new man page.
Correct the usage of /ox request.
This commit is contained in:
Michael Vetter 2022-05-04 00:22:18 +02:00
parent acedd42d78
commit 281c8b7d8d

View File

@ -1734,7 +1734,8 @@ static struct cmd_t command_defs[] = {
CMD_DESC( CMD_DESC(
"OpenPGP (OX) commands to manage keys, and perform OpenPGP encryption during chat sessions. " "OpenPGP (OX) commands to manage keys, and perform OpenPGP encryption during chat sessions. "
"Your OpenPGP key needs a user-id with your JID URI (xmpp:local@domain.tld). " "Your OpenPGP key needs a user-id with your JID URI (xmpp:local@domain.tld). "
"A key can be generated with \"gpg --quick-gen-key xmpp:local@domain.tld future-default default 3y\".") "A key can be generated with \"gpg --quick-gen-key xmpp:local@domain.tld future-default default 3y\". "
"See man profanity-ox-setup for details on how to set up OX the first time.")
CMD_ARGS( CMD_ARGS(
{ "keys", "List all keys known to the system." }, { "keys", "List all keys known to the system." },
{ "contacts", "Show contacts with assigned public keys." }, { "contacts", "Show contacts with assigned public keys." },
@ -1745,7 +1746,7 @@ static struct cmd_t command_defs[] = {
{ "char <char>", "Set the character to be displayed next to PGP encrypted messages." }, { "char <char>", "Set the character to be displayed next to PGP encrypted messages." },
{ "announce <file>", "Announce a public key by pushing it on the XMPP Server" }, { "announce <file>", "Announce a public key by pushing it on the XMPP Server" },
{ "discover <jid>", "Discover public keys of a jid. The OpenPGP Key IDs will be displayed" }, { "discover <jid>", "Discover public keys of a jid. The OpenPGP Key IDs will be displayed" },
{ "request <jid>", "Request public keys" }, { "request <jid> <keyid>", "Request public key. See /ox discover to to get available key IDs." },
{ "sendfile on|off", "Allow /sendfile to send unencrypted files while otherwise using PGP." }) { "sendfile on|off", "Allow /sendfile to send unencrypted files while otherwise using PGP." })
CMD_EXAMPLES( CMD_EXAMPLES(
"/ox log off", "/ox log off",