]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Make --hash-password imply --hush to prevent unnecessary noise.
authorcypherpunks <cypherpunks@torproject.org>
Fri, 10 Apr 2015 14:10:44 +0000 (16:10 +0200)
committerNick Mathewson <nickm@torproject.org>
Wed, 15 Apr 2015 13:39:41 +0000 (09:39 -0400)
changes/ticket15542 [new file with mode: 0644]
src/or/main.c

diff --git a/changes/ticket15542 b/changes/ticket15542
new file mode 100644 (file)
index 0000000..fcf293e
--- /dev/null
@@ -0,0 +1,3 @@
+  o Minor features (command-line interface):
+    - Make --hash-password imply --hush to prevent unnecessary noise. Closes
+      ticket 15542.
index a3da1480230ff29a0f263d9c9cfd9b8f388d6a65..07d5ba883f76ee557df1535bf7c99d61a0840d80 100644 (file)
@@ -2484,10 +2484,11 @@ tor_init(int argc, char *argv[])
       if (!strcmp(cl->key, "--quiet") ||
           !strcmp(cl->key, "--dump-config"))
         quiet = 2;
-      /* --version, --digests, and --help imply --hush */
+      /* The following options imply --hush */
       if (!strcmp(cl->key, "--version") || !strcmp(cl->key, "--digests") ||
           !strcmp(cl->key, "--list-torrc-options") ||
           !strcmp(cl->key, "--library-versions") ||
+          !strcmp(cl->key, "--hash-password") ||
           !strcmp(cl->key, "-h") || !strcmp(cl->key, "--help")) {
         if (quiet < 1)
           quiet = 1;