aboutsummaryrefslogtreecommitdiffstats
path: root/src/command
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-05-04 00:22:18 +0200
committerMichael Vetter <jubalh@iodoru.org>2022-05-04 00:22:18 +0200
commit281c8b7d8d5fdf7d600811bd3002d26f8ef02576 (patch)
tree7fc5d41f5899de78ef397944b93b7f5cd17e6ef5 /src/command
parentacedd42d7864fd9e7dd4363cd7f354d4ccede40b (diff)
downloadprofani-tty-281c8b7d8d5fdf7d600811bd3002d26f8ef02576.tar.gz
Improve ox command help
Mention new man page. Correct the usage of /ox request.
Diffstat (limited to 'src/command')
-rw-r--r--src/command/cmd_defs.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c
index a9e45147..b816ddcc 100644
--- a/src/command/cmd_defs.c
+++ b/src/command/cmd_defs.c
@@ -1734,7 +1734,8 @@ static struct cmd_t command_defs[] = {
CMD_DESC(
"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). "
- "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(
{ "keys", "List all keys known to the system." },
{ "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." },
{ "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" },
- { "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." })
CMD_EXAMPLES(
"/ox log off",