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

    r1747 r1815  
    194194 
    195195    // set up the usage document, in case we need to print out how to use this program. 
    196     arguments.getApplicationUsage()->setCommandLineUsage(arguments.getProgramName()+" [options] filename ..."); 
     196    arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] filename ..."); 
    197197    arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); 
    198198 
     
    222222        return 1; 
    223223    } 
    224  
     224     
    225225    // load the nodes from the commandline arguments. 
    226226    osg::Node* model = createModel();