mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-22 14:23:04 +01:00
Remove the trailing dot from version numbers
This commit is contained in:
parent
df6c475e59
commit
78a13df158
2 changed files with 3 additions and 3 deletions
|
@ -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 version %s\n", get_version());
|
||||
exit(0);
|
||||
}
|
||||
|
||||
if (config_line_find(cmdline_only_options, "--library-versions")) {
|
||||
printf("Tor version %s. \n", get_version());
|
||||
printf("Tor version %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(),
|
||||
|
|
|
@ -355,7 +355,7 @@ main(int argc, char **argv)
|
|||
usage();
|
||||
|
||||
if (!strcmp(arg[0],"--version")) {
|
||||
printf("Tor version %s.\n",VERSION);
|
||||
printf("Tor version %s\n",VERSION);
|
||||
return 0;
|
||||
}
|
||||
while (n_args && *arg[0] == '-') {
|
||||
|
|
Loading…
Add table
Reference in a new issue