mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-15 07:44:10 +00:00
UI: Add command line arguments to log
This commit is contained in:
parent
da7b8c79a2
commit
f6544dd802
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue