aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/man
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-07-28 10:57:54 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-07-28 14:19:10 +0200
commitb4a8a18797335de6d3d416e14a2ad769219426db (patch)
treec133bd56e636f862e119ff93670ece209f499433 /src/man
parentsystemd: add reload target to systemd unit (diff)
downloadwireguard-tools-b4a8a18797335de6d3d416e14a2ad769219426db.tar.xz
wireguard-tools-b4a8a18797335de6d3d416e14a2ad769219426db.zip
man: wg-quick: use syncconf instead of addconf for strip example
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/man')
-rw-r--r--src/man/wg-quick.84
1 files changed, 1 insertions, 3 deletions
diff --git a/src/man/wg-quick.8 b/src/man/wg-quick.8
index c693a89..b84eb64 100644
--- a/src/man/wg-quick.8
+++ b/src/man/wg-quick.8
@@ -254,9 +254,7 @@ This will load the configuration file `/etc/wireguard/wgnet0.conf'.
The \fIstrip\fP command is useful for reloading configuration files without disrupting active
sessions:
-\fB # wg addconf wgnet0 <(wg-quick strip wgnet0)\fP
-
-(Note that the above command will add and update peers but will not remove peers.)
+\fB # wg syncconf wgnet0 <(wg-quick strip wgnet0)\fP
.SH SEE ALSO
.BR wg (8),