diff --git a/server/main.cpp b/server/main.cpp index 7c96c5a1..a9c829c2 100644 --- a/server/main.cpp +++ b/server/main.cpp @@ -165,6 +165,7 @@ public: [](const std::shared_ptr &stream, const string &arg) -> bool { //版本信息 *stream << "编译日期: " << BUILD_TIME << std::endl; + *stream << "代码日期: " << COMMIT_TIME << std::endl; *stream << "当前git分支: " << BRANCH_NAME << std::endl; *stream << "当前git hash值: " << COMMIT_HASH << std::endl; throw ExitException();