]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Include --push-remove in the output of --help.
authorGert Doering <gert@greenie.muc.de>
Wed, 17 Nov 2021 06:44:42 +0000 (07:44 +0100)
committerGert Doering <gert@greenie.muc.de>
Wed, 17 Nov 2021 11:29:51 +0000 (12:29 +0100)
"push-remove" has been in OpenVPN since 2.4, but managed to stay hidden
from the "--help" output.  Add.

Reported-by: mike tancsa <mike@sentex.net>
Signed-off-by: Gert Doering <gert@greenie.muc.de>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
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 <gert@greenie.muc.de>
src/openvpn/options.c

index a167a08a8b8a3308c76977c7b90e2a51f3d3d834..cc3d9fa0712780f0870932a50d0a1548bd553d5e 100644 (file)
@@ -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"