Refactor some JSON stuff for performance, and fix a build error.
This commit is contained in:
parent
6fb49f68fc
commit
a064e19b8a
7 changed files with 188 additions and 218 deletions
3
one.cpp
3
one.cpp
|
@ -897,9 +897,6 @@ static void printHelp(const char *cn,FILE *out)
|
|||
fprintf(out,
|
||||
COPYRIGHT_NOTICE ZT_EOL_S
|
||||
LICENSE_GRANT ZT_EOL_S);
|
||||
std::string updateUrl(OneService::autoUpdateUrl());
|
||||
if (updateUrl.length())
|
||||
fprintf(out,"Automatic updates enabled:" ZT_EOL_S" %s" ZT_EOL_S" (all updates are securely authenticated by 256-bit ECDSA signature)" ZT_EOL_S"" ZT_EOL_S,updateUrl.c_str());
|
||||
fprintf(out,"Usage: %s [-switches] [home directory]" ZT_EOL_S"" ZT_EOL_S,cn);
|
||||
fprintf(out,"Available switches:" ZT_EOL_S);
|
||||
fprintf(out," -h - Display this help" ZT_EOL_S);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue