]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Use option name --test-commandline in tor-fw-helper.
authorDavid Fifield <david@bamsoftware.com>
Wed, 13 Mar 2013 07:43:21 +0000 (00:43 -0700)
committerNick Mathewson <nickm@torproject.org>
Tue, 19 Mar 2013 19:09:44 +0000 (15:09 -0400)
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)

changes/bug7768
src/tools/tor-fw-helper/tor-fw-helper.c

index f523b5b7717893b54347f0a569682126e1f1c5b8..e3f9600afb9b21a5e8987276253ede4eb4fac01d 100644 (file)
@@ -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.
index d92445e08fda3fee8566e36ae7adc387bd42c045..488fe67419bb1771a8f6497837f0264f1ada5b3d 100644 (file)
@@ -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");