From: Jason A. Donenfeld Date: Tue, 28 Jul 2020 08:57:54 +0000 (+0200) Subject: man: wg-quick: use syncconf instead of addconf for strip example X-Git-Tag: v1.0.20200820~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b4a8a18797335de6d3d416e14a2ad769219426db;p=thirdparty%2Fwireguard-tools.git man: wg-quick: use syncconf instead of addconf for strip example Signed-off-by: Jason A. Donenfeld --- 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),