about summary refs log tree commit diff stats
path: root/docs/profanity-alias.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-alias.1
parent68e9de02df6b739d34e33899ff71126a6e9fd25e (diff)
downloadprofani-tty-a8e6b26ee1f336975be76919aeb096768b724aa6.tar.gz
Release 0.13.0
Diffstat (limited to 'docs/profanity-alias.1')
-rw-r--r--docs/profanity-alias.152
1 files changed, 52 insertions, 0 deletions
diff --git a/docs/profanity-alias.1 b/docs/profanity-alias.1
new file mode 100644
index 00000000..8387c023
--- /dev/null
+++ b/docs/profanity-alias.1
@@ -0,0 +1,52 @@
+.TH man 1 "2022-09-13" "0.13.0" "Profanity XMPP client"
+
+.SH NAME
+/alias
+
+.SH DESCRIPTION
+Add, remove or list command aliases.
+
+.SH SYNOPSIS
+/alias list
+
+.LP
+/alias add <name> <value>
+
+.LP
+/alias remove <name>
+
+.LP
+
+.SH ARGUMENTS
+.PP
+\fBlist\fR
+.RS 4
+List all aliases.
+.RE
+.PP
+\fBadd <name> <value>\fR
+.RS 4
+Add a new command alias.
+.RE
+.PP
+\fBremove <name>\fR
+.RS 4
+Remove a command alias.
+.RE
+
+.SH EXAMPLES
+/alias add friends /who online friends
+
+.LP
+/alias add /q /quit
+
+.LP
+/alias add a /away "I'm in a meeting."
+
+.LP
+/alias remove q
+
+.LP
+/alias list
+
+.LP