[tor-commits] [tor/master] manpage: fix formatting of example on quoting options with spaces

nickm at torproject.org nickm at torproject.org
Tue Mar 5 16:57:25 UTC 2019


commit 27eec505270ba6378e8ff732da5432b30ac107f7
Author: rl1987 <rl1987 at sdf.lonestar.org>
Date:   Sun Mar 3 11:51:08 2019 +0200

    manpage: fix formatting of example on quoting options with spaces
---
 changes/ticket29635 | 3 +++
 doc/tor.1.txt       | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/changes/ticket29635 b/changes/ticket29635
new file mode 100644
index 000000000..cbadbf648
--- /dev/null
+++ b/changes/ticket29635
@@ -0,0 +1,3 @@
+  o Minor bugfixes (documentation, manpage):
+    - Use proper formatting when providing an example on quoting options that
+      contain whitespace. Fixes bug 29635; bugfix on 0.2.3.18-rc.
diff --git a/doc/tor.1.txt b/doc/tor.1.txt
index 52f5bfa0c..ee9197606 100644
--- a/doc/tor.1.txt
+++ b/doc/tor.1.txt
@@ -147,8 +147,8 @@ instance, you can tell Tor to start listening for SOCKS connections on port
 9999 by passing --SocksPort 9999 or SocksPort 9999 to it on the command line,
 or by putting "SocksPort 9999" in the configuration file.  You will need to
 quote options with spaces in them: if you want Tor to log all debugging
-messages to debug.log, you will probably need to say --Log 'debug file
-debug.log'.
+messages to debug.log, you will probably need to say **--Log** `"debug file
+debug.log"`.
 
 Options on the command line override those in configuration files. See the
 next section for more information.





More information about the tor-commits mailing list