Merge pull request #1151 from VodBox/command-line-args
UI: Add Command Line Arguments to log
This commit is contained in:
commit
f1d5d60435
@ -1401,6 +1401,14 @@ static int run_program(fstream &logFile, int argc, char *argv[])
|
|||||||
|
|
||||||
/* --------------------------------------- */
|
/* --------------------------------------- */
|
||||||
#endif
|
#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())
|
if (!program.OBSInit())
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user