doc: add "ovpn-dco" to usage and man page
PATCH 1/1 doc: add "ovpn-dco" to usage and man page
From: Lev Stipakov <[email protected]...>
While on it, remove redundant sentence
and quotation from --windows-driver man
description.
--- doc/man-sections/windows-options.rst | 8 ++++---- src/openvpn/options.c | 1 + 2 files changed, 5 insertions(+), 4 deletions(-)
doc/man-sections/windows-options.rst +4 -4
@@ -238,7 +238,7 @@ Windows-Specific Options logged when this is found in the configuration file. --windows-driver drv - Specifies which tun driver to use. Values are :code:`tap-windows6` - (default) and :code:`wintun`. This is a Windows-only option. - :code:`wintun`" requires ``--dev tun`` and the OpenVPN process to run - elevated, or be invoked using the Interactive Service. + Specifies which tun driver to use. Values are :code:`ovpn-dco`, + :code:`tap-windows6` (default) and :code:`wintun`. :code:`wintun` requires + ``--dev tun`` and the OpenVPN process to run elevated, or be invoked using + the Interactive Service.
src/openvpn/options.c +1 -0
@@ -749,6 +749,7 @@ static const char usage_message[] ="--show-net-up : Show " PACKAGE_NAME "'s view of routing table and net adapter list\n" " after TAP adapter is up and routes have been added.\n" "--windows-driver : Which tun driver to use?\n" +" ovpn-dco\n" " tap-windows6 (default)\n" " wintun\n" "--block-outside-dns : Block DNS on other network adapters to prevent DNS leaks\n"
Signature · 1 line
2.23.0.windows.1
Did you not move the "(default)" to ovpn-dco since the other patch, that makes ovpn-doc the default, is not merged, yet?
Patch is certainly correct relative to current master, so
Quoted 42 lines · Lev Stipakov
From: Lev Stipakov <[email protected]...>
While on it, remove redundant sentence
and quotation from --windows-driver man
description.Signed-off-by Lev Stipakov <[email protected]...>--- doc/man-sections/windows-options.rst | 8 ++++---- src/openvpn/options.c | 1 + 2 files changed, 5 insertions(+), 4 deletions(-)doc/man-sections/windows-options.rst +4
-4@@ -238,7 +238,7 @@ Windows-Specific Options logged when this is found in the configuration file. --windows-driver drv - Specifies which tun driver to use. Values are :code:`tap-windows6` - (default) and :code:`wintun`. This is a Windows-only option. - :code:`wintun`" requires ``--dev tun`` and the OpenVPN process to run - elevated, or be invoked using the Interactive Service. + Specifies which tun driver to use. Values are :code:`ovpn-dco`, + :code:`tap-windows6` (default) and :code:`wintun`. :code:`wintun` requires + ``--dev tun`` and the OpenVPN process to run elevated, or be invoked using + the Interactive Service.src/openvpn/options.c +1
-0@@ -749,6 +749,7 @@ static const char usage_message[] ="--show-net-up : Show " PACKAGE_NAME "'s view of routing table and net adapter list\n" " after TAP adapter is up and routes have been added.\n" "--windows-driver : Which tun driver to use?\n" +" ovpn-dco\n" " tap-windows6 (default)\n" " wintun\n" "--block-outside-dns : Block DNS on other network adapters to prevent DNS leaks\n" Signature · 1 line
2.23.0.windows.1
Signature · 1 line
Frank Lichtenheld
Hi,
Quoted 5 lines · Lev Stipakov
From: Lev Stipakov <[email protected]...>
While on it, remove redundant sentence
and quotation from --windows-driver man
description.
As Frank said, we should have a v2 of this, which moves the (default) to "ovpn-dco" while at it.
src/openvpn/options.c static const char usage_message[] = · line 753
Quoted 10 lines
src/openvpn/options.c +1
-0@@ -749,6 +749,7 @@ static const char usage_message[] ="--show-net-up : Show " PACKAGE_NAME "'s view of routing table and net adapter list\n" " after TAP adapter is up and routes have been added.\n" "--windows-driver : Which tun driver to use?\n" +" ovpn-dco\n" " tap-windows6 (default)\n"
... in here, that is :-)
gert
Signature · 6 lines
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]...