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/osgparticle/osgparticle.cpp

    r1747 r1815  
    349349     
    350350    // set up the usage document, in case we need to print out how to use this program. 
    351     arguments.getApplicationUsage()->setCommandLineUsage(arguments.getProgramName()+" [options] image_file_left_eye image_file_right_eye"); 
     351    arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] image_file_left_eye image_file_right_eye"); 
    352352    arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); 
    353353     
     
    378378        return 1; 
    379379    } 
    380  
     380     
    381381    osg::Group *root = new osg::Group; 
    382382    build_world(root);