Tools: Added universal TrinityCore banner with git version info to all tools

This commit is contained in:
Shauren
2016-07-17 17:24:53 +02:00
parent f27e1eea4a
commit a8c412a063
9 changed files with 108 additions and 23 deletions

View File

@@ -25,7 +25,8 @@
#include "Patterns/Mac.hpp"
#include "Patterns/Windows.hpp"
#include <CompilerDefs.h>
#include "Banner.h"
#include "CompilerDefs.h"
#include <boost/algorithm/string/replace.hpp>
#include <boost/program_options.hpp>
@@ -131,6 +132,8 @@ int main(int argc, char** argv)
try
{
Trinity::Banner::Show("connection_patcher", [](char const* text) { std::cout << text << std::endl; }, nullptr);
auto vm = GetConsoleArguments(argc, argv);
// exit if help is enabled