- Timestamp:
- 04/06/03 23:32:44 (10 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgtexture1D/osgtexture1D.cpp
r1747 r1815 145 145 146 146 // set up the usage document, in case we need to print out how to use this program. 147 arguments.getApplicationUsage()->setCommandLineUsage(arguments.get ProgramName()+" [options] filename ...");147 arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] filename ..."); 148 148 arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); 149 149 … … 171 171 { 172 172 arguments.writeErrorMessages(std::cout); 173 return 1; 174 } 175 176 if (arguments.argc()<=1) 177 { 178 arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); 173 179 return 1; 174 180 }
