[Openvpn-devel,v1] manpage: fix HTML format for --local

Message ID 20250402140901.18218-1-gert@greenie.muc.de
State New
Headers show
Series [Openvpn-devel,v1] manpage: fix HTML format for --local | expand

Commit Message

Gert Doering April 2, 2025, 2:08 p.m. UTC
From: Gianmarco De Gregori <gianmarco@mandelbit.com>

Fix the HTML format for --local directive
to match the manpage structure.

Change-Id: I8d981a66932a5424ed959b12ee0cdddf881de91e
Signed-off-by: Gianmarco De Gregori <gianmarco@mandelbit.com>
Acked-by: Samuli Seppänen <sasepp@proton.me>
---

This change was reviewed on Gerrit and approved by at least one
developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/922
This mail reflects revision 1 of this Change.

Acked-by according to Gerrit (reflected above):
Samuli Seppänen <sasepp@proton.me>

Patch

diff --git a/doc/man-sections/link-options.rst b/doc/man-sections/link-options.rst
index 287473e..8334d16 100644
--- a/doc/man-sections/link-options.rst
+++ b/doc/man-sections/link-options.rst
@@ -106,7 +106,13 @@ 
   is not reliable. It is recommended to set tun-mtu with enough headroom
   instead.
 
---local host|* [port] [protocol]
+--local args
+
+  Valid syntax:
+  ::
+
+     local host|* [port] [protocol]
+
   Local host name or IP address and port for bind. If specified, OpenVPN will bind
   to this address. If unspecified, OpenVPN will bind to all interfaces.
   '*' can be used as hostname and means 'any host' (OpenVPN will listen on what