show version on any startup

pull/1/head
Thorsten Liebig 2010-05-11 17:59:29 +02:00
parent abbe10bd9f
commit 44753cf878
1 changed files with 5 additions and 2 deletions

View File

@ -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 <thorsten.liebig@gmx.de> GPL license" << endl;
cout << " -------------------------------------------------------------------- " << endl << endl;
if (argc<=1)
{
cout << " | openEMS version " GIT_VERSION << endl;
cout << " | (C) 2010 Thorsten Liebig <thorsten.liebig@gmx.de> GPL license" << endl << endl;
cout << " usage: openEMS FDTD_XML_FILE [--disable-dumps] [--debug-material] [--debug-operator]" << endl;
exit(-1);
}