Also add the commit hash to the daemon version readout.

This commit is contained in:
Casey Langen 2020-10-31 22:27:43 -07:00
parent c93d66a4ba
commit 9d695f8a9b

View File

@ -128,7 +128,7 @@ static void handleCommandLine(int argc, char** argv) {
stopDaemon();
}
else if (command == "--version") {
std::cout << "\n musikcubed version: " << VERSION << "\n\n";
std::cout << "\n musikcubed version: " << VERSION << " " << VERSION_COMMIT_HASH << "\n\n";
}
else if (command == "--running") {
pid_t pid = getDaemonPid();