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 > .IR host >
.RB [ \-p .RB [ \-p
.IR port ] .IR port ]
| .RB [ \-u
.RB < \-u .IR sockname ]
.IR sockname >
.RB [ \-i .RB [ \-i
.IR ircdir ] .IR ircdir ]
.RB [ \-n .RB [ \-n

2
ii.c
View File

@ -98,7 +98,7 @@ die(const char *fmt, ...)
static void static void
usage(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>] " " [-i <ircdir>] "
" [-n <nick>] [-f <fullname>] [-k <password>]\n", argv0); " [-n <nick>] [-f <fullname>] [-k <password>]\n", argv0);
} }