Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/wgconfig Add missing description for wgconfig `set ...



details:   https://anonhg.NetBSD.org/src/rev/54584e39b71b
branches:  trunk
changeset: 975066:54584e39b71b
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Thu Aug 20 23:03:08 2020 +0000

description:
Add missing description for wgconfig `set private-key' command.

diffstat:

 usr.sbin/wgconfig/wgconfig.8 |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r abbe050503a5 -r 54584e39b71b usr.sbin/wgconfig/wgconfig.8
--- a/usr.sbin/wgconfig/wgconfig.8      Thu Aug 20 23:01:20 2020 +0000
+++ b/usr.sbin/wgconfig/wgconfig.8      Thu Aug 20 23:03:08 2020 +0000
@@ -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 <ozaki.ryota%gmail.com@localhost>
 .\" All rights reserved.
@@ -90,6 +90,11 @@
 .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



Home | Main Index | Thread Index | Old Index