summaryrefslogtreecommitdiff
path: root/one.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2017-03-14 14:40:17 -0700
committerAdam Ierymenko <adam.ierymenko@zerotier.com>2017-03-14 14:40:17 -0700
commit533baf921fcb6dee8268faa2f09f77baaf9f4ad0 (patch)
tree497256aaf6c63b1fbd3e89406bc92ffeb86792f5 /one.cpp
parentc1c26ec73ab22e9344d807ffd1f564d46f65196a (diff)
downloadinfinitytier-533baf921fcb6dee8268faa2f09f77baaf9f4ad0.tar.gz
infinitytier-533baf921fcb6dee8268faa2f09f77baaf9f4ad0.zip
Software update cleanup, and a fix for updates on Windows.
Diffstat (limited to 'one.cpp')
-rw-r--r--one.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/one.cpp b/one.cpp
index f704f7ef..95230bf1 100644
--- a/one.cpp
+++ b/one.cpp
@@ -84,7 +84,7 @@ using namespace ZeroTier;
static OneService *volatile zt1Service = (OneService *)0;
#define PROGRAM_NAME "ZeroTier One"
-#define COPYRIGHT_NOTICE "Copyright © 2011–2016 ZeroTier, Inc."
+#define COPYRIGHT_NOTICE "Copyright (c) 2011-2017 ZeroTier, Inc."
#define LICENSE_GRANT \
"This is free software: you may copy, modify, and/or distribute this" ZT_EOL_S \
"work under the terms of the GNU General Public License, version 3 or" ZT_EOL_S \
@@ -100,9 +100,10 @@ static OneService *volatile zt1Service = (OneService *)0;
static void cliPrintHelp(const char *pn,FILE *out)
{
fprintf(out,
- "%s version %d.%d.%d" ZT_EOL_S,
+ "%s version %d.%d.%d build %d (platform %d arch %d)" ZT_EOL_S,
PROGRAM_NAME,
- ZEROTIER_ONE_VERSION_MAJOR, ZEROTIER_ONE_VERSION_MINOR, ZEROTIER_ONE_VERSION_REVISION);
+ ZEROTIER_ONE_VERSION_MAJOR, ZEROTIER_ONE_VERSION_MINOR, ZEROTIER_ONE_VERSION_REVISION, ZEROTIER_ONE_VERSION_BUILD,
+ ZT_BUILD_PLATFORM, ZT_BUILD_ARCHITECTURE);
fprintf(out,
COPYRIGHT_NOTICE ZT_EOL_S
LICENSE_GRANT ZT_EOL_S);