]> git.ipfire.org Git - thirdparty/wireguard-tools.git/commitdiff
man: wg-quick: use syncconf instead of addconf for strip example
authorJason A. Donenfeld <Jason@zx2c4.com>
Tue, 28 Jul 2020 08:57:54 +0000 (10:57 +0200)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 28 Jul 2020 12:19:10 +0000 (14:19 +0200)
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
src/man/wg-quick.8

index c693a8913a79e45f64b79900f9523ca49e7f48f2..b84eb64ae53829ee5519ef3e4b065b8081e8b70a 100644 (file)
@@ -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),