summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-11-05 22:30:49 -0500
committerJune McEnroe <june@causal.agency>2019-11-05 22:30:49 -0500
commit8b131ba8a5c04b25fb7c6977f5d1b0e384f421b2 (patch)
treec3d35bfcafaf148c8b800dabba8e3cfe8099918a
parentUse arc4random_buf (diff)
downloadpounce-8b131ba8a5c04b25fb7c6977f5d1b0e384f421b2.tar.gz
pounce-8b131ba8a5c04b25fb7c6977f5d1b0e384f421b2.zip
Use "priv" instead of "key" in options
Let all words be four letter words.
-rw-r--r--bounce.c4
-rw-r--r--pounce.16
2 files changed, 5 insertions, 5 deletions
diff --git a/bounce.c b/bounce.c
index 2ac9118..3f06603 100644
--- a/bounce.c
+++ b/bounce.c
@@ -208,7 +208,7 @@ int main(int argc, char *argv[]) {
 		{ "away", required_argument, NULL, 'A' },
 		{ "cert", required_argument, NULL, 'C' },
 		{ "bind-host", required_argument, NULL, 'H' },
-		{ "key", required_argument, NULL, 'K' },
+		{ "priv", required_argument, NULL, 'K' },
 		{ "names", no_argument, NULL, 'N' },
 		{ "bind-port", required_argument, NULL, 'P' },
 		{ "quit", required_argument, NULL, 'Q' },
@@ -220,7 +220,7 @@ int main(int argc, char *argv[]) {
 		{ "save", required_argument, NULL, 'f' },
 		{ "host", required_argument, NULL, 'h' },
 		{ "join", required_argument, NULL, 'j' },
-		{ "client-key", required_argument, NULL, 'k' },
+		{ "client-priv", required_argument, NULL, 'k' },
 		{ "nick", required_argument, NULL, 'n' },
 		{ "port", required_argument, NULL, 'p' },
 		{ "real", required_argument, NULL, 'r' },
diff --git a/pounce.1 b/pounce.1
index ee4451b..ebc175e 100644
--- a/pounce.1
+++ b/pounce.1
@@ -78,7 +78,7 @@ Bind to
 .Ar host .
 The default host is localhost.
 .
-.It Fl K Ar path , Cm key = Ar path
+.It Fl K Ar path , Cm priv = Ar path
 Load TLS private key from
 .Ar path .
 The default path is the
@@ -169,8 +169,8 @@ Connect to
 Join the comma-separated list of
 .Ar chan .
 .
-.It Fl k Ar path , Cm client-key = Ar path
-Authenticate using the TLS client certificate key at
+.It Fl k Ar path , Cm client-priv = Ar path
+Authenticate using the TLS client certificate private key at
 .Ar path .
 .
 .It Fl n Ar nick , Cm nick = Ar nick