[tor-commits] [tor/master] man: Add a comment to anchor only option

nickm at torproject.org nickm at torproject.org
Thu Apr 5 12:21:48 UTC 2018


commit ff38c0589ceab60cda9c27b117d1dcfef55b3539
Author: David Goulet <dgoulet at torproject.org>
Date:   Wed Apr 4 11:38:42 2018 -0400

    man: Add a comment to anchor only option
    
    Some anchor don't appear in the final man page so document those so we
    understand why we do that in the future.
    
    Part of #25582
    
    Signed-off-by: David Goulet <dgoulet at torproject.org>
---
 doc/tor.1.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index 2c01a3ec9..415cd6f3a 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -1203,6 +1203,7 @@ The following options are useful only for clients (that is, if
         on different SocksPorts, TransPorts, etc are always isolated from one
         another. This option overrides that behavior.)
 
+// Anchor only for formatting, not visible in the man page.
 [[OtherSocksPortFlags]]::
     Other recognized __flags__ for a SocksPort are:
     **NoIPv4Traffic**;;
@@ -1267,6 +1268,7 @@ The following options are useful only for clients (that is, if
         authentication" when IsolateSOCKSAuth is disabled, or when this
         option is set.
 
+// Anchor only for formatting, not visible in the man page.
 [[SocksPortFlagsMisc]]::
     Flags are processed left to right. If flags conflict, the last flag on the
     line is used, and all earlier flags are ignored. No error is issued for
@@ -1904,6 +1906,7 @@ is non-zero):
        reject *:6881-6999
        accept *:*
 
+// Anchor only for formatting, not visible in the man page.
 [[ExitPolicyDefault]]::
     Since the default exit policy uses accept/reject *, it applies to both
     IPv4 and IPv6 addresses.
@@ -2079,6 +2082,7 @@ is non-zero):
         If the address is absent, or resolves to both an IPv4 and an IPv6
         address, only listen to the IPv6 address.
 
+// Anchor only for formatting, not visible in the man page.
 [[ORPortFlagsExclusive]]::
     For obvious reasons, NoAdvertise and NoListen are mutually exclusive, and
     IPv4Only and IPv6Only are mutually exclusive.





More information about the tor-commits mailing list