From c8350e042827b4467434aaa08432a011c723b235 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 14 Apr 2011 15:45:14 +0000 Subject: [PATCH] From Magnus Kessler, "The standard width for the windows cmd and terminals on many Unix systems is 80 columns. I reorganized some of the help strings to make the output of osgconv --help --all fit to 80 columns. This avoids difficult to read line breaks added by the terminal program itself." --- applications/osgconv/osgconv.cpp | 52 ++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 23 deletions(-) diff --git a/applications/osgconv/osgconv.cpp b/applications/osgconv/osgconv.cpp index 2c759076b..0396e9e01 100644 --- a/applications/osgconv/osgconv.cpp +++ b/applications/osgconv/osgconv.cpp @@ -452,12 +452,14 @@ static void usage( const char *prog, const char *msg ) osg::notify(osg::NOTICE)<<" --compressed-dxt3 - Enable the usage of S3TC DXT3 compressed textures"<< std::endl; osg::notify(osg::NOTICE)<<" --compressed-dxt5 - Enable the usage of S3TC DXT5 compressed textures"<< std::endl; osg::notify(osg::NOTICE)<< std::endl; - osg::notify(osg::NOTICE)<<" --fix-transparency - fix stateset which are curerntly declared as transparent,"<< std::endl; - osg::notify(osg::NOTICE)<<" but should be opaque. Defaults to using the "<< std::endl; - osg::notify(osg::NOTICE)<<" fixTranspancyMode MAKE_OPAQUE_TEXTURE_STATESET_OPAQUE."<< std::endl; - osg::notify(osg::NOTICE)<<" --fix-transparency-mode - fix stateset which are curerntly declared as"<< std::endl; - osg::notify(osg::NOTICE)<<" transparent but should be opaque. The mode_string determines"<< std::endl; - osg::notify(osg::NOTICE)<<" algorithm is used to fix the transparency, options are: "<< std::endl; + osg::notify(osg::NOTICE)<<" --fix-transparency - fix statesets which are currently"<< std::endl; + osg::notify(osg::NOTICE)<<" declared as transparent, but should be opaque."<< std::endl; + osg::notify(osg::NOTICE)<<" Defaults to using the fixTranspancyMode"<< std::endl; + osg::notify(osg::NOTICE)<<" MAKE_OPAQUE_TEXTURE_STATESET_OPAQUE."<< std::endl; + osg::notify(osg::NOTICE)<<" --fix-transparency-mode - fix statesets which are currently"<< std::endl; + osg::notify(osg::NOTICE)<<" declared as transparent but should be opaque."<< std::endl; + osg::notify(osg::NOTICE)<<" The mode_string determines which algorithm is used"<< std::endl; + osg::notify(osg::NOTICE)<<" to fix the transparency, options are:"<< std::endl; osg::notify(osg::NOTICE)<<" MAKE_OPAQUE_TEXTURE_STATESET_OPAQUE,"< - Displays information about the spefied , where \n" - " is the file extension, such as \"flt\"." << std::endl; + " --format - Display information about the specified ,\n" + " where is the file extension, such as \"flt\"." << std::endl; osg::notify( osg::NOTICE ) << - " --plugins - Lists all supported plugin files." << std::endl; + " --plugins - List all supported plugin files." << std::endl; osg::notify( osg::NOTICE ) << - " --plugin >plugin> - Displays information about the spefied , where \n" - " is the plugin's full path and file name." << std::endl; + " --plugin - Display information about the specified ,\n" + " where is the plugin's full path and file name." << std::endl; }