[Openvpn-devel] fix typo in help text: --ignore-unknown-option

Message ID 20230417125446.27247-1-frank@lichtenheld.com
State Accepted
Headers show
Series [Openvpn-devel] fix typo in help text: --ignore-unknown-option | expand

Commit Message

Frank Lichtenheld April 17, 2023, 12:54 p.m. UTC
From: Michael Nix <mchl.nix@googlemail.com>

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


Gert Doering May 8, 2023, 12:17 p.m. UTC | #1
Acked-by: Gert Doering <gert@greenie.muc.de>

"because it makes sense".

I have not tested this beyond "does it still compile?" (which is just
paranoia since "it's only changing a single byte in a string", but hey...)

@Frank, thanks for forwarding this from a MR to the list.

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

commit c7da4e0dcca5a56e2ec37fc8a2672cdbebe65048 (master)
commit d76fc3336def34adf7e76141865c492fdf69d844 (release/2.6)
Author: Michael Nix
Date:   Mon Apr 17 14:54:46 2023 +0200

     fix typo in help text: --ignore-unknown-option

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

kind regards,

Gert Doering


diff --git a/src/openvpn/options.c b/src/openvpn/options.c
index 3914ab23..f5b09ab7 100644
--- a/src/openvpn/options.c
+++ b/src/openvpn/options.c
@@ -248,7 +248,7 @@  static const char usage_message[] =
     "--setenv name value : Set a custom environmental variable to pass to script.\n"
     "--setenv FORWARD_COMPATIBLE 1 : Relax config file syntax checking to allow\n"
     "                  directives for future OpenVPN versions to be ignored.\n"
-    "--ignore-unkown-option opt1 opt2 ...: Relax config file syntax. Allow\n"
+    "--ignore-unknown-option opt1 opt2 ...: Relax config file syntax. Allow\n"
     "                  these options to be ignored when unknown\n"
     "--script-security level: Where level can be:\n"
     "                  0 -- strictly no calling of external programs\n"