14 |
#include "PluginManager.h" |
#include "PluginManager.h" |
15 |
|
|
16 |
using namespace std; |
using namespace std; |
17 |
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"}; |
18 |
|
|
19 |
Common* Common::instance() |
Common* Common::instance() |
20 |
{ |
{ |
84 |
|
|
85 |
void Common::printUsage() |
void Common::printUsage() |
86 |
{ |
{ |
87 |
cout << VERSION << endl << endl; |
cout << VERSION << endl; |
88 |
|
cout << SVNVERSION << endl << endl; |
89 |
cout << "Usage --daemon|--debug [arguments]" << endl; |
cout << "Usage --daemon|--debug [arguments]" << endl; |
90 |
cout << "Commandline arguments :" << endl; |
cout << "Commandline arguments :" << endl; |
91 |
cout << " --daemon : Run in daemon (background) mode" << endl; |
cout << " --daemon : Run in daemon (background) mode" << endl; |
121 |
} |
} |
122 |
else |
else |
123 |
{ |
{ |
124 |
cout << VERSION; |
cout << "Unknown argument : " << current << endl << endl; |
|
cout << "Unknown argument : " << current << endl; |
|
125 |
} |
} |
126 |
} |
} |
127 |
|
|