about summary refs log tree commit diff stats
path: root/docs/profanity-cmd.1
diff options
context:
space:
mode:
Diffstat (limited to 'docs/profanity-cmd.1')
-rw-r--r--docs/profanity-cmd.135
1 files changed, 35 insertions, 0 deletions
diff --git a/docs/profanity-cmd.1 b/docs/profanity-cmd.1
new file mode 100644
index 00000000..7c14bf84
--- /dev/null
+++ b/docs/profanity-cmd.1
@@ -0,0 +1,35 @@
+.TH man 1 "2022-10-12" "0.13.0" "Profanity XMPP client"
+
+.SH NAME
+/cmd
+
+.SH DESCRIPTION
+Execute ad hoc commands.
+
+.SH SYNOPSIS
+/cmd list [<jid>]
+
+.LP
+/cmd exec <command> [<jid>]
+
+.LP
+
+.SH ARGUMENTS
+.PP
+\fBlist\fR
+.RS 4
+List supported ad hoc commands.
+.RE
+.PP
+\fBexec <command>\fR
+.RS 4
+Execute a command.
+.RE
+
+.SH EXAMPLES
+/cmd list
+
+.LP
+/cmd exec ping
+
+.LP