Clarify configuration file usage example
Point to EXAMPLES and /help from the top of the manual.master
parent
997c932e83
commit
9a81456f0a
25
catgirl.1
25
catgirl.1
|
@ -38,6 +38,16 @@ program is a TLS-only
|
||||||
curses IRC client.
|
curses IRC client.
|
||||||
.
|
.
|
||||||
.Pp
|
.Pp
|
||||||
|
See
|
||||||
|
.Sx EXAMPLES
|
||||||
|
to get started.
|
||||||
|
Type
|
||||||
|
.Ic /help
|
||||||
|
inside
|
||||||
|
.Nm
|
||||||
|
to view this manual again.
|
||||||
|
.
|
||||||
|
.Pp
|
||||||
Options can be loaded from files
|
Options can be loaded from files
|
||||||
listed on the command line.
|
listed on the command line.
|
||||||
Files are searched for in
|
Files are searched for in
|
||||||
|
@ -599,18 +609,27 @@ if the connection is lost,
|
||||||
and >0 if an error occurs.
|
and >0 if an error occurs.
|
||||||
.
|
.
|
||||||
.Sh EXAMPLES
|
.Sh EXAMPLES
|
||||||
Command line:
|
Join
|
||||||
|
.Li #ascii.town
|
||||||
|
from the command line:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
catgirl -h chat.freenode.net -j '#ascii.town'
|
catgirl -h chat.freenode.net -j '#ascii.town'
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.Pp
|
||||||
Configuration file:
|
Create a configuration file in
|
||||||
|
.Pa ~/.config/catgirl/freenode :
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
host = chat.freenode.net
|
host = chat.freenode.net
|
||||||
join = #ascii.town
|
join = #ascii.town
|
||||||
.Ed
|
.Ed
|
||||||
.Pp
|
.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
|
.Bd -literal -offset indent
|
||||||
ignore = * [JPQ][OAU][IR][NT] #example
|
ignore = * [JPQ][OAU][IR][NT] #example
|
||||||
.Ed
|
.Ed
|
||||||
|
|
Loading…
Reference in New Issue