From 95b949331032067a0c53ce435f97e2d4b2f449ff Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 22 May 2021 10:40:36 +0200 Subject: [PATCH] doc/soju.1: document -connect-command --- doc/soju.1.scd | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/soju.1.scd b/doc/soju.1.scd index 7e3f2c4..588fd5a 100644 --- a/doc/soju.1.scd +++ b/doc/soju.1.scd @@ -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* + 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 + ``` + + The flag can be specified multiple times to send multiple IRC messages. + To clear all commands, set it to the empty string. + *network update* [options...] Update an existing network. The options are the same as the _network create_ command.