summary refs log tree commit diff
path: root/catgirl.1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-01-10 18:00:41 -0500
committerJune McEnroe <june@causal.agency>2021-01-10 18:00:41 -0500
commitc6cd90c2dd491d31d7bf8cff3e31bf361a955b1b (patch)
treecc5a4a3fda384d63db43a25112349e41fe3fe8ba /catgirl.1
parentAllow interspersing flags and config files (diff)
downloadcatgirl-c6cd90c2dd491d31d7bf8cff3e31bf361a955b1b.tar.gz
catgirl-c6cd90c2dd491d31d7bf8cff3e31bf361a955b1b.zip
Print chain to stdout with -o
Diffstat (limited to '')
-rw-r--r--catgirl.111
1 files changed, 5 insertions, 6 deletions
diff --git a/catgirl.1 b/catgirl.1
index 9c8bb32..35e984d 100644
--- a/catgirl.1
+++ b/catgirl.1
@@ -30,10 +30,10 @@
 .Op Ar config ...
 .
 .Nm
+.Fl o
 .Op Fl S Ar bind
 .Op Fl h Ar host
 .Op Fl p Ar port
-.Fl o Ar chain
 .Op Ar config ...
 .
 .Nm
@@ -224,10 +224,9 @@ Set nickname to
 .Ar nick .
 The default nickname is the user's name.
 .
-.It Fl o Ar chain
-Write the server certificate chain
-in PEM format to
-.Ar chain
+.It Fl o
+Print the server certificate chain
+to standard output in PEM format
 and exit.
 .
 .It Fl p Ar port , Cm port = Ar port
@@ -318,7 +317,7 @@ sasl-external
 Connect to the server
 and write its certificate to a file:
 .Bd -literal -offset indent
-catgirl -h irc.example.org -o ~/.config/catgirl/example.pem
+catgirl -o -h irc.example.org > ~/.config/catgirl/example.pem
 .Ed
 .It
 Configure