mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-10 16:10:53 +08:00
MediaServer -v 打印代码日期
This commit is contained in:
@@ -165,6 +165,7 @@ public:
|
||||
[](const std::shared_ptr<ostream> &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();
|
||||
|
||||
Reference in New Issue
Block a user