- Timestamp:
- 04/06/03 23:32:44 (10 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgprerender/osgprerender.cpp
r1747 r1815 370 370 371 371 // set up the usage document, in case we need to print out how to use this program. 372 arguments.getApplicationUsage()->setCommandLineUsage(arguments.get ProgramName()+" [options] filename ...");372 arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] filename ..."); 373 373 arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); 374 374 … … 396 396 { 397 397 arguments.writeErrorMessages(std::cout); 398 return 1; 399 } 400 401 if (arguments.argc()<=1) 402 { 403 arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); 398 404 return 1; 399 405 }
