Merge pull request #4432 from sysown/v2.x-year

Update copyright year
pull/4439/head
René Cannaò 2 years ago committed by GitHub
commit 1516097d74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -232,7 +232,8 @@ ProxySQL_GlobalVariables::ProxySQL_GlobalVariables() :
opt->overview="High Performance Advanced Proxy for MySQL";
opt->syntax="proxysql [OPTIONS]";
std::string s = "\n\nProxySQL " ;
s = s + "rev. " + PROXYSQL_VERSION + " -- " + __TIMESTAMP__ + "\nCopyright (C) 2013-2022 ProxySQL LLC\nThis program is free and without warranty\n";
const char *build_year = __DATE__ + 7;
s = s + "rev. " + PROXYSQL_VERSION + " -- " + __TIMESTAMP__ + "\nCopyright (C) 2013-" + string(build_year) + " ProxySQL LLC\nThis program is free and without warranty\n";
opt->footer =s.c_str();
opt->add((const char *)"",0,0,0,(const char *)"Display usage instructions.",(const char *)"-h",(const char *)"-help",(const char *)"--help",(const char *)"--usage");

Loading…
Cancel
Save