From: Gert Doering Date: Wed, 17 Nov 2021 06:44:42 +0000 (+0100) Subject: Include --push-remove in the output of --help. X-Git-Tag: v2.6_beta1~379 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2a555c3aafcc8cf238a803d25971938ed75b518d;p=thirdparty%2Fopenvpn.git Include --push-remove in the output of --help. "push-remove" has been in OpenVPN since 2.4, but managed to stay hidden from the "--help" output. Add. Reported-by: mike tancsa Signed-off-by: Gert Doering Acked-by: Antonio Quartulli Message-Id: <20211117064442.15899-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg23194.html Signed-off-by: Gert Doering --- diff --git a/src/openvpn/options.c b/src/openvpn/options.c index a167a08a8..cc3d9fa07 100644 --- a/src/openvpn/options.c +++ b/src/openvpn/options.c @@ -409,6 +409,8 @@ static const char usage_message[] = " execution. Peer must specify --pull in its config file.\n" "--push-reset : Don't inherit global push list for specific\n" " client instance.\n" + "--push-remove opt : Remove options matching 'opt' from the push list for\n" + " a specific client instance.\n" "--ifconfig-pool start-IP end-IP [netmask] : Set aside a pool of subnets\n" " to be dynamically allocated to connecting clients.\n" "--ifconfig-pool-persist file [seconds] : Persist/unpersist ifconfig-pool\n"