about summary refs log tree commit diff stats
path: root/docs/profanity-sub.1
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-09-13 11:50:49 +0200
committerMichael Vetter <jubalh@iodoru.org>2022-09-13 11:50:49 +0200
commita8e6b26ee1f336975be76919aeb096768b724aa6 (patch)
treee84f4c4edc1d680e1fe338675eeef70498ca4510 /docs/profanity-sub.1
parent68e9de02df6b739d34e33899ff71126a6e9fd25e (diff)
downloadprofani-tty-a8e6b26ee1f336975be76919aeb096768b724aa6.tar.gz
Release 0.13.0
Diffstat (limited to 'docs/profanity-sub.1')
-rw-r--r--docs/profanity-sub.173
1 files changed, 73 insertions, 0 deletions
diff --git a/docs/profanity-sub.1 b/docs/profanity-sub.1
new file mode 100644
index 00000000..31707743
--- /dev/null
+++ b/docs/profanity-sub.1
@@ -0,0 +1,73 @@
+.TH man 1 "2022-09-13" "0.13.0" "Profanity XMPP client"
+
+.SH NAME
+/sub
+
+.SH DESCRIPTION
+Manage subscriptions to contact presence. If jid is omitted, the contact of the current window is used.
+
+.SH SYNOPSIS
+/sub request [<jid>]
+
+.LP
+/sub allow [<jid>]
+
+.LP
+/sub deny [<jid>]
+
+.LP
+/sub show [<jid>]
+
+.LP
+/sub sent
+
+.LP
+/sub received
+
+.LP
+
+.SH ARGUMENTS
+.PP
+\fBrequest [<jid>]\fR
+.RS 4
+Send a subscription request to the user.
+.RE
+.PP
+\fBallow [<jid>]\fR
+.RS 4
+Approve a contact's subscription request.
+.RE
+.PP
+\fBdeny [<jid>]\fR
+.RS 4
+Remove subscription for a contact, or deny a request.
+.RE
+.PP
+\fBshow [<jid>]\fR
+.RS 4
+Show subscription status for a contact.
+.RE
+.PP
+\fBsent\fR
+.RS 4
+Show all sent subscription requests pending a response.
+.RE
+.PP
+\fBreceived\fR
+.RS 4
+Show all received subscription requests awaiting your response.
+.RE
+
+.SH EXAMPLES
+/sub request odin@valhalla.edda
+
+.LP
+/sub allow odin@valhalla.edda
+
+.LP
+/sub request
+
+.LP
+/sub sent
+
+.LP