- Timestamp:
- 04/06/03 23:32:44 (10 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgsequence/osgsequence.cpp
r1747 r1815 97 97 98 98 // set up the usage document, in case we need to print out how to use this program. 99 arguments.getApplicationUsage()->setCommandLineUsage(arguments.get ProgramName()+" [options] filename ...");99 arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] filename ..."); 100 100 arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); 101 101 … … 123 123 { 124 124 arguments.writeErrorMessages(std::cout); 125 return 1; 126 } 127 128 if (arguments.argc()<=1) 129 { 130 arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); 125 131 return 1; 126 132 }
