Skip to content

Commit

Permalink
Update copyright year
Browse files Browse the repository at this point in the history
  • Loading branch information
renecannao committed Jan 19, 2024
1 parent 2840e18 commit bb562ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ProxySQL_GloVars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,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");
Expand Down

0 comments on commit bb562ec

Please sign in to comment.