Clarify configuration file usage example

Point to EXAMPLES and /help from the top of the manual.
master
C. McEnroe 2020-12-08 17:19:08 -05:00
parent 997c932e83
commit 9a81456f0a
1 changed files with 22 additions and 3 deletions

View File

@ -38,6 +38,16 @@ program is a TLS-only
curses IRC client.
.
.Pp
See
.Sx EXAMPLES
to get started.
Type
.Ic /help
inside
.Nm
to view this manual again.
.
.Pp
Options can be loaded from files
listed on the command line.
Files are searched for in
@ -599,18 +609,27 @@ if the connection is lost,
and >0 if an error occurs.
.
.Sh EXAMPLES
Command line:
Join
.Li #ascii.town
from the command line:
.Bd -literal -offset indent
catgirl -h chat.freenode.net -j '#ascii.town'
.Ed
.Pp
Configuration file:
Create a configuration file in
.Pa ~/.config/catgirl/freenode :
.Bd -literal -offset indent
host = chat.freenode.net
join = #ascii.town
.Ed
.Pp
Filtering joins, parts and quits from a channel:
Load the configuration file:
.Bd -literal -offset indent
catgirl freenode
.Ed
.
.Ss Tips
Hide joins, parts and quits from a channel:
.Bd -literal -offset indent
ignore = * [JPQ][OAU][IR][NT] #example
.Ed