提交 f6544dd8 编写于 作者: V VodBox

UI: Add command line arguments to log

上级 da7b8c79
......@@ -1401,6 +1401,14 @@ static int run_program(fstream &logFile, int argc, char *argv[])
/* --------------------------------------- */
#endif
if (argc > 1) {
stringstream stor;
stor << argv[1];
for (int i = 2; i < argc; ++i) {
stor << " " << argv[i];
}
blog(LOG_INFO, "Command Line Arguments: %s", stor.str().c_str());
}
if (!program.OBSInit())
return 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册