- Timestamp:
- 04/06/03 23:32:44 (10 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgstereoimage/osgstereoimage.cpp
r1813 r1815 396 396 397 397 // set up the usage document, in case we need to print out how to use this program. 398 arguments.getApplicationUsage()->setCommandLineUsage(arguments.get ProgramName()+" [options] image_file_left_eye image_file_right_eye");398 arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] image_file_left_eye image_file_right_eye"); 399 399 arguments.getApplicationUsage()->addCommandLineOption("-d <float>","Time delay in sceonds between the display of successive image pairs when in auto advance mode."); 400 400 arguments.getApplicationUsage()->addCommandLineOption("-a","Enter auto advance of image pairs on start up."); … … 445 445 { 446 446 arguments.writeErrorMessages(std::cout); 447 return 1; 448 } 449 450 if (arguments.argc()<=1) 451 { 452 arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); 447 453 return 1; 448 454 }
