Skip to contentSkip to conversation

Include --push-remove in the output of --help.

PATCH In review Gert Doering 2 participants 3 messages Nov 17, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 src/openvpn/options.c | 2 ++
 1 file changed, 2 insertions(+)
src/openvpn/options.c +2 -0
index a167a08a..cc3d9fa0 100644
@@ -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"
Signature · 1 line
2.26.3
#2 lore raw
In reply to Gert Doering

Patch has been applied to the master and release/2.5 branch.

commit 2a555c3aafcc8cf238a803d25971938ed75b518d (master) commit 59a8406e0e10716939a587aff3cb9662ce951d47 (release/2.5)

Author: Gert Doering
Date:   Wed Nov 17 07:44:42 2021 +0100
     Include --push-remove in the output of --help.

     Signed-off-by: Gert Doering <[email protected]...>
     Acked-by: Antonio Quartulli <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg23194.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering