Introduction
Introduction Statistics Contact Development Disclaimer Help
ii: fix mistake in usage, the host is actually mandatory - ii - irc it, simple …
git clone git://git.suckless.org/ii
Log
Files
Refs
README
LICENSE
---
commit 5bd50577a911f806cc09d909a31605d2461df53e
parent 00698e45ead4ee1cec0e17b9f209dc4332c6f07b
Author: Hiltjo Posthuma <[email protected]>
Date: Fri, 2 Sep 2022 12:23:40 +0200
ii: fix mistake in usage, the host is actually mandatory
Reported by Petr VanÄ›k <[email protected]>, thanks!
Diffstat:
M ii.1 | 6 ++----
M ii.c | 2 +-
2 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/ii.1 b/ii.1
@@ -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
diff --git a/ii.c b/ii.c
@@ -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);
}
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.