From a80d8e09d3b5f393f2dc83148ef66c6e1d7f4015 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 1 Oct 2012 11:01:18 -0400 Subject: The --version option should imply --quiet. Patch from 'maker'. --- src/or/main.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/or/main.c b/src/or/main.c index 635dcb4bd5..74bb696725 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -2293,6 +2293,9 @@ tor_init(int argc, char *argv[]) quiet = 1; if (!strcmp(argv[i], "--quiet")) quiet = 2; + /* --version implies --quiet */ + if (!strcmp(argv[i], "--version")) + quiet = 2; } /* give it somewhere to log to initially */ switch (quiet) { -- cgit v1.2.3-54-g00ecf