Skip to content

Commit

Permalink
Print version when starting
Browse files Browse the repository at this point in the history
  • Loading branch information
caesay committed Aug 7, 2022
1 parent 4f06455 commit 15035a1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,10 +246,14 @@ void run(vector<string> arguments)
cmdl.add_params({ "adapter", "captureRegion", "speakers", "microphones", "fps", "crf", "maxOutputWidth", "maxOutputHeight", "output", "trackerColor"});
cmdl.parse(arguments);

cout << std::endl;
cout << "obs-express v0.0.1, a light weight command line screen recorder." << std::endl;
cout << "bundled with obs-studio v" << obs_get_version_string() << std::endl;
cout << std::endl;

bool help = cmdl[{ "h", "help" }];
if (help) {

cout << "OBS Express, a light weight command line screen recorder." << std::endl;
cout << "Options: " << std::endl;
cout << " --help Show this help" << std::endl;
cout << " --adapter The numerical index of the graphics device to use" << std::endl;
cout << " --captureRegion The region of the desktop to record (eg. 'x,y,w,h') " << std::endl;
Expand Down

0 comments on commit 15035a1

Please sign in to comment.