aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Fifield <david@bamsoftware.com>2013-03-13 00:43:21 -0700
committerNick Mathewson <nickm@torproject.org>2013-03-19 15:09:44 -0400
commit03efe54027e214be51f5cb4bafcbbd57422da7a1 (patch)
treece12f481b7d5128984336992276bd2953a7c57c6
parent8c211c3cdae1c6cb0f2d004f8dfaf15569b7501a (diff)
downloadtor-03efe54027e214be51f5cb4bafcbbd57422da7a1.tar
tor-03efe54027e214be51f5cb4bafcbbd57422da7a1.tar.gz
Use option name --test-commandline in tor-fw-helper.
It was previously --Test in the help output and --test-commandline in the getopt call. The man page already had --test. (Originally by David, who resolved the tie in favor of "--test"; I chose --test-commandline" instead so that nothing that depended on it could break. -Nick)
-rw-r--r--changes/bug77684
-rw-r--r--src/tools/tor-fw-helper/tor-fw-helper.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/changes/bug7768 b/changes/bug7768
index f523b5b77..e3f9600af 100644
--- a/changes/bug7768
+++ b/changes/bug7768
@@ -1,3 +1,3 @@
o Documentation fixes:
- - Update tor-fw-helper.1.txt to describe its options with their
- correct names. Fixes bug 7768.
+ - Update tor-fw-helper.1.txt and tor-fw-helper.c to make option
+ names match. Fixes bug 7768.
diff --git a/src/tools/tor-fw-helper/tor-fw-helper.c b/src/tools/tor-fw-helper/tor-fw-helper.c
index d92445e08..488fe6741 100644
--- a/src/tools/tor-fw-helper/tor-fw-helper.c
+++ b/src/tools/tor-fw-helper/tor-fw-helper.c
@@ -97,7 +97,7 @@ usage(void)
{
fprintf(stderr, "tor-fw-helper usage:\n"
" [-h|--help]\n"
- " [-T|--Test]\n"
+ " [-T|--test-commandline]\n"
" [-v|--verbose]\n"
" [-g|--fetch-public-ip]\n"
" [-p|--forward-port ([<external port>]:<internal port>])\n");