Skip to content

Commit

Permalink
usage info in video example
Browse files Browse the repository at this point in the history
  • Loading branch information
gwaldron committed Jul 3, 2024
1 parent e994c6d commit 4bf2452
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/applications/osgearth_video/osgearth_video.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ main(int argc, char** argv)

osg::ArgumentParser arguments(&argc,argv);

if (argc < 2)
{
OE_WARN << "Usage: osgearth_video <video1>" << std::endl;
return -1;
}

// initialize a viewer:
osgViewer::Viewer viewer(arguments);

Expand Down

0 comments on commit 4bf2452

Please sign in to comment.