[Openvpn-devel] Change command help to match man page and implementation

Message ID 20220908161435.327109-1-frank@lichtenheld.com
State Accepted
Headers show
Series [Openvpn-devel] Change command help to match man page and implementation | expand

Commit Message

Frank Lichtenheld Sept. 8, 2022, 6:14 a.m. UTC
From: Arne Schwabe <arne@rfc2549.org>

Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
---
 src/openvpn/options.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

patch got lost back in 2017
still included in Debian package
original mail: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg13821.html

Comments

Gert Doering Sept. 8, 2022, 6:43 a.m. UTC | #1
"Because it does"... :-)

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

commit 2b4f3ea880377401275baf965ff603f30cde36f1 (master)
commit 997df07a98ee01dfdf6e2b360dd06f61580b5a1c (release/2.5)
Author: Arne Schwabe
Date:   Thu Sep 8 18:14:35 2022 +0200

     Change command help to match man page and implementation

     Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
     Signed-off-by: Arne Schwabe <arne@rfc2549.org>
     Acked-by: Gert Doering <gert@greenie.muc.de>
     Message-Id: <20220908161435.327109-1-frank@lichtenheld.com>
     URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25151.html
     Signed-off-by: Gert Doering <gert@greenie.muc.de>


--
kind regards,

Gert Doering

Patch

diff --git a/src/openvpn/options.c b/src/openvpn/options.c
index a296086d..bb5cd875 100644
--- a/src/openvpn/options.c
+++ b/src/openvpn/options.c
@@ -208,7 +208,7 @@  static const char usage_message[] =
     "                  is established.  Multiple routes can be specified.\n"
     "                  netmask default: 255.255.255.255\n"
     "                  gateway default: taken from --route-gateway or --ifconfig\n"
-    "                  Specify default by leaving blank or setting to \"nil\".\n"
+    "                  Specify default by leaving blank or setting to \"default\".\n"
     "--route-ipv6 network/bits [gateway] [metric] :\n"
     "                  Add IPv6 route to routing table after connection\n"
     "                  is established.  Multiple routes can be specified.\n"