Added desciptions to all the demos.

This commit is contained in:
Robert Osfield
2003-04-09 11:44:32 +00:00
parent 38cccb696b
commit 2e87dcd804
35 changed files with 35 additions and 1 deletions

View File

@@ -585,6 +585,7 @@ int main( int argc, char **argv )
osg::ArgumentParser arguments(&argc,argv);
// set up the usage document, in case we need to print out how to use this program.
arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" is the example which demonstrates use pbuffers and render to texture..");
arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] filename ...");
arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information");