summaryrefslogtreecommitdiff
path: root/src/or/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/main.c')
-rw-r--r--src/or/main.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/or/main.c b/src/or/main.c
index 33e1c6437f..2d6ca74d8d 100644
--- a/src/or/main.c
+++ b/src/or/main.c
@@ -2343,6 +2343,8 @@ tor_init(int argc, char *argv[])
/* --version implies --quiet */
if (!strcmp(argv[i], "--version"))
quiet = 2;
+ if (!strcmp(argv[i], "--library-versions"))
+ quiet = 2;
}
/* give it somewhere to log to initially */
switch (quiet) {
@@ -2365,11 +2367,12 @@ tor_init(int argc, char *argv[])
#else
"";
#endif
- log_notice(LD_GENERAL, "Tor v%s %srunning on %s with Libevent %s "
- "and OpenSSL %s.", version, bev_str,
+ log_notice(LD_GENERAL, "Tor v%s %srunning on %s with Libevent %s, "
+ "OpenSSL %s and Zlib %s.", version, bev_str,
get_uname(),
tor_libevent_get_version_str(),
- crypto_openssl_get_version_str());
+ crypto_openssl_get_version_str(),
+ tor_zlib_get_version_str());
log_notice(LD_GENERAL, "Tor can't help you if you use it wrong! "
"Learn how to be safe at "