--- smsdaemon/common.cpp 2008/06/16 11:30:20 92 +++ smsdaemon/common.cpp 2008/08/24 17:57:04 109 @@ -1,5 +1,8 @@ #include "common.h" + +#include "version.h" + #include #include #include @@ -11,7 +14,7 @@ #include "PluginManager.h" using namespace std; -const char* Months[] = { "", "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov","Dec"}; +const char* Months[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov","Dec"}; Common* Common::instance() { @@ -82,6 +85,7 @@ void Common::printUsage() { cout << VERSION << endl; + cout << SVNVERSION << endl << endl; cout << "Usage --daemon|--debug [arguments]" << endl; cout << "Commandline arguments :" << endl; cout << " --daemon : Run in daemon (background) mode" << endl; @@ -117,8 +121,7 @@ } else { - cout << VERSION; - cout << "Unknown argument : " << current << endl; + cout << "Unknown argument : " << current << endl << endl; } }