]> 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:30:55 +0000 (12:30 +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>
(cherry picked from commit 2a555c3aafcc8cf238a803d25971938ed75b518d)

src/openvpn/options.c

index a536ebe6af394dc58cdf22aea18f1c0b76b57fa8..f88cf2efdb48054ceb9f50ddc01ea2aa976249fa 100644 (file)
@@ -418,6 +418,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"