Index: trunk/tmdmcreator/src/main.cpp
===================================================================
--- trunk/tmdmcreator/src/main.cpp	(revision 4)
+++ trunk/tmdmcreator/src/main.cpp	(revision 6)
@@ -1,2 +1,18 @@
+/***************************************************************************
+ TmDmCreator
+ Create SQL code for ToolMap project
+ -------------------
+ copyright            : (C) 2013 CREALP Lucien Schreiber
+ email                : lucien.schreiber at crealp dot vs dot ch
+ ***************************************************************************/
+
+/***************************************************************************
+ *                                                                         *
+ *   This program is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License as published by  *
+ *   the Free Software Foundation; either version 2 of the License, or     *
+ *   (at your option) any later version.                                   *
+ *                                                                         *
+ ***************************************************************************/
 #include "wx/wxprec.h"
 #ifdef __BORLANDC__
@@ -12,8 +28,4 @@
 #include <wx/filename.h>
 
-#include "database.h"
-#include "silayer.h"
-
-
 
 static const wxCmdLineEntryDesc cmdLineDesc[] =
@@ -22,4 +34,7 @@
         wxCMD_LINE_VAL_NONE, wxCMD_LINE_OPTION_HELP },
     { wxCMD_LINE_SWITCH, "v", "verbose", "Be more verbose" },
+    { wxCMD_LINE_PARAM, NULL, NULL, "[structure sql file]"},
+    { wxCMD_LINE_PARAM, NULL, NULL, "[content txt file]"},
+    { wxCMD_LINE_PARAM, NULL, NULL, "[result sql file]"},
     { wxCMD_LINE_NONE }
 };
@@ -45,25 +60,18 @@
     wxApp::CheckBuildOptions(WX_BUILD_OPTIONS_SIGNATURE, "program");
     wxInitializer initializer;
-    if ( !initializer )
-    {
+    if ( !initializer ){
         fprintf(stderr, "Failed to initialize the wxWidgets library, aborting.");
         return -1;
     }
     
-    wxString myLogoTxt = _T("*\n* TmDmCreator \n* Create SQL Command for ToolMap projects \n* (c) Copyright 2013 Lucien Schreiber - CREALP . All Rights Reserved. \n*\n");
+    wxString myLogoTxt = _T("*\n* TmDmCreator \n* Create SQL file for ToolMap projects \n* (c) Copyright 2013 Lucien Schreiber - CREALP . All Rights Reserved. \n*\n");
     wxCmdLineParser parser(cmdLineDesc, argc, argv);
-    parser.AddParam(_T("[ToolMap project file]"), wxCMD_LINE_VAL_STRING);
-    parser.AddParam(_T("[SHP directory]"), wxCMD_LINE_VAL_STRING);
-    parser.AddParam(_T("[rule files]"),wxCMD_LINE_VAL_STRING,  wxCMD_LINE_PARAM_MULTIPLE);
     parser.SetLogo(myLogoTxt);
-    
     if (parser.Parse() != 0) {
         return 0;
     }
     
-    bool beVerbose = parser.Found("verbose");
-    
     // cmd line is correct !!
-    wxPrintf(myLogoTxt);    
+    wxPrintf(myLogoTxt);
     return 0;
 }
