]> git.mxchange.org Git - flightgear.git/commitdiff
The OSG version is now printed with --version.
authorEdward d'Auvergne <edward@nmr-relax.com>
Sat, 5 Dec 2015 14:24:47 +0000 (15:24 +0100)
committerEdward d'Auvergne <edward@nmr-relax.com>
Sat, 5 Dec 2015 14:24:47 +0000 (15:24 +0100)
This adds the OSG version number between the simgear and PLIB versions.

src/Main/options.cxx

index e4f1b212a5ed5d87b1df86940c6fd407e827f8ba..c0a955379b7b70cf72af4a5a9edf43bfa0a47382 100644 (file)
@@ -1328,6 +1328,7 @@ fgOptVersion( const char *arg )
     }
     cerr << endl;
     cerr << "SimGear version: " << SG_STRINGIZE(SIMGEAR_VERSION) << endl;
+    cerr << "OSG version: " << osgGetVersion() << endl;
     cerr << "PLIB version: " << PLIB_VERSION << endl;
     return FG_OPTIONS_EXIT;
 }