Changed the write help option to just output commandline options.

This commit is contained in:
Robert Osfield 2004-08-23 08:31:55 +00:00
parent 40e42793b9
commit 9486146ace

View File

@ -327,7 +327,7 @@ int main( int argc, char **argv )
// if user request help write it out to cout.
if (arguments.read("-h") || arguments.read("--help"))
{
arguments.getApplicationUsage()->write(std::cout);
arguments.getApplicationUsage()->write(std::cout,osg::ApplicationUsage::COMMAND_LINE_OPTION);
return 1;
}