Module Name: src
Committed By: riastradh
Date: Thu Aug 20 23:01:20 UTC 2020
Modified Files:
src/usr.sbin/wgconfig: wgconfig.8
Log Message:
Mark up argument as such and write out wgconfig command correctly.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 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.3 src/usr.sbin/wgconfig/wgconfig.8:1.4
--- src/usr.sbin/wgconfig/wgconfig.8:1.3 Thu Aug 20 22:58:06 2020
+++ src/usr.sbin/wgconfig/wgconfig.8 Thu Aug 20 23:01:20 2020
@@ -1,4 +1,4 @@
-.\" $NetBSD: wgconfig.8,v 1.3 2020/08/20 22:58:06 riastradh Exp $
+.\" $NetBSD: wgconfig.8,v 1.4 2020/08/20 23:01:20 riastradh Exp $
.\"
.\" Copyright (C) Ryota Ozaki <[email protected]>
.\" All rights reserved.
@@ -96,7 +96,7 @@ Set the UDP port number that
listens for incoming WireGuard sessions on.
This allows a peer to start a new session without having a specific
endpoint IP address configured.
-.It Cm "add peer" Ar name Ar pubkey Op options...
+.It Cm "add peer" Ar name Ar pubkey Op Ar options...
Add a peer.
The argument
.Ar name
@@ -134,7 +134,7 @@ tunnel.
Delete the peer
.Ar name
previously added with
-.Nm Cm "add peer" Ar name .
+.Nm Ar wgN Cm "add peer" Ar name .
.El
.\"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
.Sh EXAMPLES