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