From 0dd724e8b79671cbd94d6f2208a8c2dcf2e70bb7 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 10 Apr 2003 10:21:20 +0000 Subject: [PATCH] Changed the '-c' commandline option to '-m' to avoid overlapp with -c used for config files. --- examples/osgoccluder/osgoccluder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osgoccluder/osgoccluder.cpp b/examples/osgoccluder/osgoccluder.cpp index 4eb25353d..fbf95bfa8 100644 --- a/examples/osgoccluder/osgoccluder.cpp +++ b/examples/osgoccluder/osgoccluder.cpp @@ -286,7 +286,7 @@ int main( int argc, char **argv ) arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" is the example which demonstrates use of convex planer occluders."); arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] filename ..."); arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); - arguments.getApplicationUsage()->addCommandLineOption("-c","Mannually create occluders"); + arguments.getApplicationUsage()->addCommandLineOption("-m","Mannually create occluders"); // initialize the viewer. osgProducer::Viewer viewer(arguments); @@ -295,7 +295,7 @@ int main( int argc, char **argv ) viewer.setUpViewer(osgProducer::Viewer::STANDARD_SETTINGS); bool manuallyCreateOccluders = false; - while (arguments.read("-c")) { manuallyCreateOccluders = true; } + while (arguments.read("-m")) { manuallyCreateOccluders = true; } // get details on keyboard and mouse bindings used by the viewer. viewer.getUsage(*arguments.getApplicationUsage());