Add built date to version information

This commit is contained in:
badaix 2021-01-21 12:03:19 +01:00
parent d03a9eae68
commit 61ebc114f6
2 changed files with 6 additions and 6 deletions

View file

@ -194,12 +194,12 @@ int main(int argc, char** argv)
if (versionSwitch->is_set())
{
cout << "snapclient v" << VERSION << "\n"
<< "Copyright (C) 2014-2020 BadAix (snapcast@badaix.de).\n"
cout << "snapclient v" << VERSION << ", built " << __DATE__ << "\n"
<< "Copyright (C) 2014-2021 BadAix (snapcast@badaix.de).\n"
<< "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\n"
<< "This is free software: you are free to change and redistribute it.\n"
<< "There is NO WARRANTY, to the extent permitted by law.\n\n"
<< "Written by Johannes M. Pohl.\n\n";
<< "Written by Johannes M. Pohl and contributors <https://github.com/badaix/snapcast/graphs/contributors>.\n\n";
exit(EXIT_SUCCESS);
}