[tor-commits] [tor/maint-0.2.4] Fix brackets in tor-fw-helper help output.

nickm at torproject.org nickm at torproject.org
Fri Mar 15 15:23:57 UTC 2013


commit a0b92cd8008982a71b99e2938df19c8bc40c5436
Author: David Fifield <david at bamsoftware.com>
Date:   Thu Dec 20 12:40:50 2012 -0800

    Fix brackets in tor-fw-helper help output.
    
    Change nesting from [(]) to [()]. Formerly it made it look to me at
    first glance that "internal port" was optional.
    
          [Trivial change; fixes #7767  --nickm]
---
 src/tools/tor-fw-helper/tor-fw-helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/tools/tor-fw-helper/tor-fw-helper.c b/src/tools/tor-fw-helper/tor-fw-helper.c
index d92445e..adeb63b 100644
--- a/src/tools/tor-fw-helper/tor-fw-helper.c
+++ b/src/tools/tor-fw-helper/tor-fw-helper.c
@@ -100,7 +100,7 @@ usage(void)
           " [-T|--Test]\n"
           " [-v|--verbose]\n"
           " [-g|--fetch-public-ip]\n"
-          " [-p|--forward-port ([<external port>]:<internal port>])\n");
+          " [-p|--forward-port ([<external port>]:<internal port>)]\n");
 }
 
 /** Log commandline options to a hardcoded file <b>tor-fw-helper.log</b> in the



More information about the tor-commits mailing list