mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Make --hash-password imply --hush to prevent unnecessary noise.
This commit is contained in:
parent
e891deb021
commit
59e753a4a6
3
changes/ticket15542
Normal file
3
changes/ticket15542
Normal file
@ -0,0 +1,3 @@
|
||||
o Minor features (command-line interface):
|
||||
- Make --hash-password imply --hush to prevent unnecessary noise. Closes
|
||||
ticket 15542.
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user