doc/soju.1: document -connect-command

git-svn-id: file:///srv/svn/repo/suika/trunk@524 f0ae65fe-ee39-954e-97ec-027ff2717ef4
This commit is contained in:
contact 2021-05-22 08:40:36 +00:00
parent 50b5d6c486
commit 7225f0f5e9

View File

@ -158,6 +158,21 @@ abbreviated form, for instance *network* can be abbreviated as *net* or just
Connect with the specified nickname. By default, the account's username
is used.
*-connect-command* <command>
Send the specified command as a raw IRC message right after connecting
to the server. This can be used to identify to an account when the
server doesn't support SASL.
For instance, to identify with _NickServ_, the following command can be
used:
```
PRIVMSG NickServ :IDENTIFY <password>
```
The flag can be specified multiple times to send multiple IRC messages.
To clear all commands, set it to the empty string.
*network update* <name> [options...]
Update an existing network. The options are the same as the
_network create_ command.