0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-30 04:38:52 +02:00

modules/console: Add more data to version cmd extended output.

This commit is contained in:
Jason Volk 2019-04-18 18:53:23 -07:00
parent 4c95765e07
commit d86feb2ae1

View file

@ -633,6 +633,16 @@ console_cmd__version(opt &out, const string_view &line)
out << "info::server_agent " << info::server_agent << std::endl;
out << std::endl;
out << "info::kname " << info::kname << std::endl;
out << "info::kversion_str " << info::kversion_str << std::endl;
out << "info::glibc_version_str " << info::glibc_version_str << std::endl;
out << "ircd::boost_version_str " << ircd::boost_version_str << std::endl;
out << "db::version_str " << db::version_str << std::endl;
out << "nacl::version " << nacl::version() << std::endl;
out << "openssl::version " << openssl::version().second << std::endl;
out << "magic::version " << magic::version() << std::endl;
out << std::endl;
out << "VERSION " << VERSION << std::endl;
out << std::endl;
@ -652,13 +662,16 @@ console_cmd__version(opt &out, const string_view &line)
out << "RB_VERSION_BRANCH " << RB_VERSION_BRANCH << std::endl;
out << "RB_VERSION_COMMIT " << RB_VERSION_COMMIT << std::endl;
out << "RB_VERSION_TAG " << RB_VERSION_TAG << std::endl;
out << std::endl;
out << "info::configured " << info::configured << std::endl;
out << "info::compiled " << info::compiled << std::endl;
out << "info::startup " << info::startup << std::endl;
out << std::endl;
out << "RB_DATECODE " << RB_DATECODE << std::endl;
out << "RB_DATESTR " << RB_DATESTR << std::endl;
out << "RB_DATE_CONFIGURED " << RB_DATE_CONFIGURED << std::endl;
out << "RB_OS " << RB_OS << std::endl;
out << "RB_CXX " << RB_CXX << std::endl;
out << std::endl;
return true;