mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 10:37:01 +00:00
[6822] Implement --version option for mangosd/realmd for output current binary version and exit.
This commit is contained in:
parent
02ec0d5233
commit
2bf6345beb
4 changed files with 36 additions and 21 deletions
|
|
@ -32,8 +32,6 @@
|
|||
#include "Timer.h"
|
||||
#include "Policies/SingletonImp.h"
|
||||
#include "SystemConfig.h"
|
||||
#include "revision.h"
|
||||
#include "revision_nr.h"
|
||||
#include "Config/ConfigEnv.h"
|
||||
#include "Database/DatabaseEnv.h"
|
||||
#include "CliRunnable.h"
|
||||
|
|
@ -197,21 +195,6 @@ Master::~Master()
|
|||
/// Main function
|
||||
int Master::Run()
|
||||
{
|
||||
sLog.outString( "%s [world-daemon]", _FULLVERSION(REVISION_DATE,REVISION_TIME,REVISION_NR,REVISION_ID) );
|
||||
sLog.outString( "<Ctrl-C> to stop.\n\n" );
|
||||
|
||||
sLog.outTitle( "MM MM MM MM MMMMM MMMM MMMMM");
|
||||
sLog.outTitle( "MM MM MM MM MMM MMM MM MM MMM MMM");
|
||||
sLog.outTitle( "MMM MMM MMM MM MMM MMM MM MM MMM");
|
||||
sLog.outTitle( "MM M MM MMMM MM MMM MM MM MMM");
|
||||
sLog.outTitle( "MM M MM MMMMM MM MMMM MMM MM MM MMM");
|
||||
sLog.outTitle( "MM M MM M MMM MM MMM MMMMMMM MM MM MMM");
|
||||
sLog.outTitle( "MM MM MMM MM MM MM MMM MM MM MMM");
|
||||
sLog.outTitle( "MM MM MMMMMMM MM MM MMM MMM MM MM MMM MMM");
|
||||
sLog.outTitle( "MM MM MM MMM MM MM MMMMMM MMMM MMMMM");
|
||||
sLog.outTitle( " MM MMM http://getmangos.com");
|
||||
sLog.outTitle( " MMMMMM\n\n");
|
||||
|
||||
/// worldd PID file creation
|
||||
std::string pidfile = sConfig.GetStringDefault("PidFile", "");
|
||||
if(!pidfile.empty())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue