Module Name: src
Committed By: riastradh
Date: Thu Aug 20 23:03:08 UTC 2020
Modified Files:
src/usr.sbin/wgconfig: wgconfig.8
Log Message:
Add missing description for wgconfig `set private-key' command.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/wgconfig/wgconfig.8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/wgconfig/wgconfig.8
diff -u src/usr.sbin/wgconfig/wgconfig.8:1.4 src/usr.sbin/wgconfig/wgconfig.8:1.5
--- src/usr.sbin/wgconfig/wgconfig.8:1.4 Thu Aug 20 23:01:20 2020
+++ src/usr.sbin/wgconfig/wgconfig.8 Thu Aug 20 23:03:08 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: wgconfig.8,v 1.4 2020/08/20 23:01:20 riastradh Exp $
+.\" $NetBSD: wgconfig.8,v 1.5 2020/08/20 23:03:08 riastradh Exp $
.\"
.\" Copyright (C) Ryota Ozaki <[email protected]>
.\" All rights reserved.
@@ -90,6 +90,11 @@ option to
.It Cm "show private-key"
Show the private key that was set with
.Nm Ar wgN Cm "set private-key" .
+.It Cm "set private-key" Ar filename
+Set the private key of
+.Ar wgN
+to the base64-encoded private key in the file at
+.Ar filename .
.It Cm "set listen-port" Ar port
Set the UDP port number that
.Ar wgN