Browse Source

Remove the version prefix from version numbers

cypherpunks 7 years ago
parent
commit
62f52a888a
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/or/config.c
  2. 1 1
      src/tools/tor-resolve.c

+ 2 - 2
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(),

+ 1 - 1
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] == '-') {