Show
Ignore:
Timestamp:
04/06/03 23:32:44 (11 years ago)
Author:
robert
Message:

Added the usage report to the examples for when no arguments are passed
to the examples.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osghud/osghud.cpp

    r1747 r1815  
    118118     
    119119    // set up the usage document, in case we need to print out how to use this program. 
    120     arguments.getApplicationUsage()->setCommandLineUsage(arguments.getProgramName()+" [options] [filename] ..."); 
     120    arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] [filename] ..."); 
    121121    arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); 
    122122     
     
    147147        return 1; 
    148148    } 
    149  
    150  
     149     
    151150    // read the scene from the list of file specified commandline args. 
    152151    osg::ref_ptr<osg::Node> scene = osgDB::readNodeFiles(arguments);