mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-09-20 21:16:22 +02:00
Add '--digests' to "that which implies --hush."
And have these various commandline options imply "hush", not "quiet", since we like to see warnings.
This commit is contained in:
parent
675eb1fea7
commit
a6cad4db70
@ -2345,10 +2345,10 @@ tor_init(int argc, char *argv[])
|
||||
quiet = 1;
|
||||
if (!strcmp(cl->key, "--quiet"))
|
||||
quiet = 2;
|
||||
/* --version and --help imply --quiet */
|
||||
if (!strcmp(cl->key, "--version") ||
|
||||
/* --version, --digests, and --help imply --quiet */
|
||||
if (!strcmp(cl->key, "--version") || !strcmp(cl->key, "--digests") ||
|
||||
!strcmp(cl->key, "-h") || !strcmp(cl->key, "--help"))
|
||||
quiet = 2;
|
||||
quiet = 1;
|
||||
}
|
||||
config_free_lines(opts);
|
||||
config_free_lines(cmdline_opts);
|
||||
|
Loading…
Reference in New Issue
Block a user