From 61ebc114f6ade1693e960ee3750de8a404722aa2 Mon Sep 17 00:00:00 2001 From: badaix Date: Thu, 21 Jan 2021 12:03:19 +0100 Subject: [PATCH] Add built date to version information --- client/snapclient.cpp | 6 +++--- server/snapserver.cpp | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/client/snapclient.cpp b/client/snapclient.cpp index 27f86fa0..6f1e0aab 100644 --- a/client/snapclient.cpp +++ b/client/snapclient.cpp @@ -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 .\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 .\n\n"; exit(EXIT_SUCCESS); } diff --git a/server/snapserver.cpp b/server/snapserver.cpp index 185b8ed7..03343c52 100644 --- a/server/snapserver.cpp +++ b/server/snapserver.cpp @@ -149,12 +149,12 @@ int main(int argc, char* argv[]) if (versionSwitch->is_set()) { - cout << "snapserver v" << VERSION << "\n" - << "Copyright (C) 2014-2020 BadAix (snapcast@badaix.de).\n" + cout << "snapserver v" << VERSION << ", built " << __DATE__ << "\n" + << "Copyright (C) 2014-2021 BadAix (snapcast@badaix.de).\n" << "License GPLv3+: GNU GPL version 3 or later .\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 Pohl.\n"; + << "Written by Johannes M. Pohl and contributors .\n\n"; exit(EXIT_SUCCESS); }