- Timestamp:
- 04/06/03 23:32:44 (10 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgcallback/osgcallback.cpp
r1747 r1815 133 133 134 134 // set up the usage document, in case we need to print out how to use this program. 135 arguments.getApplicationUsage()->setCommandLineUsage(arguments.get ProgramName()+" [options] filename ...");135 arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] filename ..."); 136 136 arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); 137 137 … … 159 159 { 160 160 arguments.writeErrorMessages(std::cout); 161 return 1; 162 } 163 164 if (arguments.argc()<=1) 165 { 166 arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); 161 167 return 1; 162 168 }
