Changeset 1815 for OpenSceneGraph/trunk/examples/osgcubemap/osgcubemap.cpp
- Timestamp:
- 04/06/03 23:32:44 (10 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgcubemap/osgcubemap.cpp
r1747 r1815 75 75 76 76 // set up the usage document, in case we need to print out how to use this program. 77 arguments.getApplicationUsage()->setCommandLineUsage(arguments.get ProgramName()+" [options] filename ...");77 arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] filename ..."); 78 78 arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); 79 79 … … 101 101 { 102 102 arguments.writeErrorMessages(std::cout); 103 return 1; 104 } 105 106 if (arguments.argc()<=1) 107 { 108 arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION); 103 109 return 1; 104 110 }
