commit 96a55b50a593097455e1fad440b1cb7062750603
parent 6f9cce569ef0ef9c0f7f19df12a96ea7ec3f6ded
Author: Andrew Kloet <andrew@kloet.net>
Date: Tue, 28 Apr 2026 17:39:14 -0400
manpage pedanticism
Diffstat:
2 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/cio.1 b/cio.1
@@ -7,13 +7,13 @@
.
.Sh SYNOPSIS
.Nm cio
-.Op Fl hvTV
+.Op Fl vTV
.Op Fl l Ar logfile
.Op Fl n Ar nick
.Op Fl p Ar port
.Op Fl s Ar server
.Op Fl u Ar user
-.Op Fl c Ar certfile
+.Op Fl c Ar certificate
.
.Sh DESCRIPTION
.Nm
@@ -21,7 +21,7 @@ is a multiplexing curses interface for IRC.
.Nm
does not aim for complete coverage of rfc2812, but rather focuses on taking
design choices with the aim of creating hackable code that is easily extendable.
-The options are as follows:
+.Sh OPTIONS
.Bl -tag -width Ds
.It Fl T
Disable TLS and connect using a plaintext socket.
@@ -52,9 +52,9 @@ Set the IRC username (ident).
Defaults to the value of the
.Ev USER
environment variable, or "anonymous".
-.It Fl c Ar certfile
+.It Fl c Ar certificate
Use
-.Ar certfile
+.Ar certificate
as a TLS client certificate.
This is used for both establishing the encrypted connection and for SASL
EXTERNAL (CertFP) authentication.
diff --git a/cio.c b/cio.c
@@ -978,6 +978,8 @@ main(int argc, char *argv[])
if (strlcpy(cert, optarg, sizeof(cert)) >= sizeof(cert))
goto usage;
break;
+ default:
+ goto usage;
}
if (!user)
user = "anonymous";