From 912215e949a556648456cfc5a1f756f2d42abff9 Mon Sep 17 00:00:00 2001 From: Edward d'Auvergne Date: Sat, 5 Dec 2015 15:24:47 +0100 Subject: [PATCH] The OSG version is now printed with --version. This adds the OSG version number between the simgear and PLIB versions. --- src/Main/options.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Main/options.cxx b/src/Main/options.cxx index e4f1b212a..c0a955379 100644 --- a/src/Main/options.cxx +++ b/src/Main/options.cxx @@ -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; } -- 2.39.5