[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Remove the version prefix from version numbers
commit 62f52a888acc191bcb507d27d31d54e42e6effdd
Author: cypherpunks <cypherpunks@xxxxxxxxxxxxxx>
Date: Fri Dec 16 08:50:39 2016 +0000
Remove the version prefix from version numbers
---
src/or/config.c | 4 ++--
src/tools/tor-resolve.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/or/config.c b/src/or/config.c
index de7b352..5dcdf93 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -4888,12 +4888,12 @@ options_init_from_torrc(int argc, char **argv)
}
if (config_line_find(cmdline_only_options, "--version")) {
- printf("Tor version %s\n", get_version());
+ printf("Tor %s\n", get_version());
exit(0);
}
if (config_line_find(cmdline_only_options, "--library-versions")) {
- printf("Tor version %s\n", get_version());
+ printf("Tor %s\n", get_version());
printf("Library versions\tCompiled\t\tRuntime\n");
printf("Libevent\t\t%-15s\t\t%s\n",
tor_libevent_get_header_version_str(),
diff --git a/src/tools/tor-resolve.c b/src/tools/tor-resolve.c
index eca7640..fc41a83 100644
--- a/src/tools/tor-resolve.c
+++ b/src/tools/tor-resolve.c
@@ -355,7 +355,7 @@ main(int argc, char **argv)
usage();
if (!strcmp(arg[0],"--version")) {
- printf("Tor version %s\n",VERSION);
+ printf("Tor %s\n",VERSION);
return 0;
}
while (n_args && *arg[0] == '-') {
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits