Show
Ignore:
Timestamp:
04/06/03 23:32:44 (12 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/osgkeyboard/osgkeyboard.cpp

    r1792 r1815  
    382382 
    383383    // set up the usage document, in case we need to print out how to use this program. 
    384     arguments.getApplicationUsage()->setCommandLineUsage(arguments.getProgramName()+" [options] filename ..."); 
     384    arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] filename ..."); 
    385385    arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); 
    386386    arguments.getApplicationUsage()->addCommandLineOption("-c","Mannually create occluders"); 
     
    417417        return 1; 
    418418    } 
    419  
    420419      
    421420    // attach the scene graph.