--- smsdaemon/common.cpp 2008/06/16 11:57:48 94 +++ smsdaemon/common.cpp 2008/08/24 17:57:04 109 @@ -14,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() { @@ -84,7 +84,8 @@ void Common::printUsage() { - cout << VERSION << endl << endl; + 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; @@ -120,8 +121,7 @@ } else { - cout << VERSION; - cout << "Unknown argument : " << current << endl; + cout << "Unknown argument : " << current << endl << endl; } }