Index: src/clientcommandline/main.cpp
===================================================================
--- src/clientcommandline/main.cpp	(revision fb602c6c09bb8ed836662550917a2d269f04526b)
+++ src/clientcommandline/main.cpp	(revision 17ef75d3213dffae4f437137296468dca34916e6)
@@ -18,8 +18,7 @@
 */
 
-// #include "testexecuter.h"
-// #include <settings.h>
+#include "siweatherclientconfig.h"
 
-#include "siweatherclientconfig.h"
+#include "stationsregister.h"
 
 #include <ecmdlineargs.h>
@@ -29,4 +28,7 @@
 #include <QCoreApplication>
 #include <QTimer>
+#include <QTextStream>
+
+#include <iostream>
 
 int main ( int argc, char** argv )
@@ -44,5 +46,4 @@
 		return 1;
 
-
 	QCoreApplication app(argc, argv);
 	QString error;
@@ -50,13 +51,17 @@
 
 	if(args->isSet("register")){
-// 		StationsRegister *stationsRegister = new StationsRegister();
+		StationsRegister *stationsRegister = new StationsRegister();
+		QTimer::singleShot(1, stationsRegister, SLOT(registerStation()));
 	}
 // 	else if(){
 // 		
 // 	}
+	else{
+		QTextStream stream(stdout);
+		stream << "Please specify an option" << endl;
+		return -2;
+	}
 
-// 	TestExecuter test;
 	// allow to start the event loop before executing our code
-// 	QTimer::singleShot(1, &test, SLOT(load()));
 	return app.exec();
 }
