about summary refs log tree commit diff stats
path: root/docs/profanity-help.1
diff options
context:
space:
mode:
Diffstat (limited to 'docs/profanity-help.1')
-rw-r--r--docs/profanity-help.148
1 files changed, 48 insertions, 0 deletions
diff --git a/docs/profanity-help.1 b/docs/profanity-help.1
new file mode 100644
index 00000000..923969ce
--- /dev/null
+++ b/docs/profanity-help.1
@@ -0,0 +1,48 @@
+.TH man 1 "2022-10-12" "0.13.0" "Profanity XMPP client"
+
+.SH NAME
+/help
+
+.SH DESCRIPTION
+Help on using Profanity. Passing no arguments list help areas. For command help, optional arguments are shown using square brackets, arguments representing variables rather than a literal name are surrounded by angle brackets. Arguments that may be one of a number of values are separated by a pipe e.g. val1|val2|val3.
+
+.SH SYNOPSIS
+/help [<area>|<command>|search_all|search_any] [<search_terms>]
+
+.LP
+
+.SH ARGUMENTS
+.PP
+\fB<area>\fR
+.RS 4
+Summary help for commands in a certain area of functionality.
+.RE
+.PP
+\fB<command>\fR
+.RS 4
+Full help for a specific command, for example '/help connect'.
+.RE
+.PP
+\fBsearch_all <search_terms>\fR
+.RS 4
+Search commands for returning matches that contain all of the search terms.
+.RE
+.PP
+\fBsearch_any <search_terms>\fR
+.RS 4
+Search commands for returning matches that contain any of the search terms.
+.RE
+
+.SH EXAMPLES
+/help search_all presence online
+
+.LP
+/help commands
+
+.LP
+/help presence
+
+.LP
+/help who
+
+.LP