ii: fix mistake in usage, the host is actually mandatory

Reported by Petr Vaněk <arkamar@atlas.cz>, thanks!
This commit is contained in:
Hiltjo Posthuma 2022-09-02 12:23:40 +02:00
parent 00698e45ea
commit 5bd50577a9
2 changed files with 3 additions and 5 deletions

6
ii.1
View File

@ -21,10 +21,8 @@ and ii creates a new channel directory with in and out file.
.IR host >
.RB [ \-p
.IR port ]
|
.RB < \-u
.IR sockname >
.RB [ \-u
.IR sockname ]
.RB [ \-i
.IR ircdir ]
.RB [ \-n

2
ii.c
View File

@ -98,7 +98,7 @@ die(const char *fmt, ...)
static void
usage(void)
{
die("usage: %s <-s host> [-p <port>] | <-u sockname>\n"
die("usage: %s <-s host> [-p <port>] [-u sockname]\n"
" [-i <ircdir>] "
" [-n <nick>] [-f <fullname>] [-k <password>]\n", argv0);
}