- Timestamp:
- 04/06/03 23:32:44 (10 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgunittests/osgunittests.cpp
r1699 r1815 8 8 9 9 // set up the usage document, in case we need to print out how to use this program. 10 arguments.getApplicationUsage()->setCommandLineUsage(arguments.get ProgramName()+" [options]");10 arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options]"); 11 11 arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); 12 12 arguments.getApplicationUsage()->addCommandLineOption("qt","Display qualified tests."); … … 33 33 return 1; 34 34 } 35 36 if (arguments.argc()<=1) 37 { 38 arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); 39 return 1; 40 } 35 41 36 42
