From 02bde1b1753af3d5525e90c1393f9f9a8e5bed9e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 13 Sep 2003 16:48:40 +0000 Subject: [PATCH] Added commandline usage docs. --- examples/slideshow3D/slideshow3D.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/slideshow3D/slideshow3D.cpp b/examples/slideshow3D/slideshow3D.cpp index e52124162..10615c271 100644 --- a/examples/slideshow3D/slideshow3D.cpp +++ b/examples/slideshow3D/slideshow3D.cpp @@ -28,6 +28,8 @@ int main( int argc, char **argv ) arguments.getApplicationUsage()->setDescription(arguments.getApplicationName()+" is the standard OpenSceneGraph example which loads and visualises 3d models."); arguments.getApplicationUsage()->setCommandLineUsage(arguments.getApplicationName()+" [options] filename ..."); arguments.getApplicationUsage()->addCommandLineOption("-h or --help","Display this information"); + arguments.getApplicationUsage()->addCommandLineOption("-a","Turn auto stepping on by default"); + arguments.getApplicationUsage()->addCommandLineOption("-d ","Time delay in seconds between layers/slides"); // construct the viewer.