From fea0fbe776dc7c7e94b9755fa81942f52fe73b49 Mon Sep 17 00:00:00 2001 From: Alberto Griggio Date: Tue, 12 Sep 2017 16:38:01 +0200 Subject: [PATCH] show lensfun version info when invoked with '-v' (patch by heckflosse) --- rtgui/main.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rtgui/main.cc b/rtgui/main.cc index 3ebd894df..f5e134b5a 100644 --- a/rtgui/main.cc +++ b/rtgui/main.cc @@ -33,6 +33,7 @@ #include #include #include +#include #include "options.h" #include "soundman.h" #include "rtimage.h" @@ -138,6 +139,7 @@ int processLineParams ( int argc, char **argv ) #endif case 'v': + std::cout << "Using lensfun " << LF_VERSION_MAJOR << "." << LF_VERSION_MINOR << "." << LF_VERSION_MICRO << "." << LF_VERSION_BUGFIX << std::endl; return 0; #ifndef __APPLE__ // TODO agriggio - there seems to be already some "single instance app" support for OSX in rtwindow. Disabling it here until I understand how to merge the two