From 44753cf8780a51221f21a12a50ec5a301ed8f87b Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Tue, 11 May 2010 17:59:29 +0200 Subject: [PATCH] show version on any startup --- main.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/main.cpp b/main.cpp index 45c9e13..4cc1cf9 100644 --- a/main.cpp +++ b/main.cpp @@ -33,10 +33,13 @@ int main(int argc, char *argv[]) { openEMS FDTD; + cout << " -------------------------------------------------------------------- " << endl; + cout << " | openEMS version " GIT_VERSION << endl; + cout << " | (C) 2010 Thorsten Liebig GPL license" << endl; + cout << " -------------------------------------------------------------------- " << endl << endl; + if (argc<=1) { - cout << " | openEMS version " GIT_VERSION << endl; - cout << " | (C) 2010 Thorsten Liebig GPL license" << endl << endl; cout << " usage: openEMS FDTD_XML_FILE [--disable-dumps] [--debug-material] [--debug-operator]" << endl; exit(-1); }