mirror of https://github.com/Icinga/icinga2.git
parent
23a556c7ce
commit
27db75fbe6
|
@ -22,6 +22,7 @@
|
|||
#include "config/configcompilercontext.hpp"
|
||||
#include "base/json.hpp"
|
||||
#include "base/console.hpp"
|
||||
#include "base/application.hpp"
|
||||
#include <iostream>
|
||||
|
||||
using namespace icinga;
|
||||
|
@ -65,6 +66,8 @@ int ReplCommand::Run(const po::variables_map& vm, const std::vector<std::string>
|
|||
std::map<String, String> lines;
|
||||
int next_line = 1;
|
||||
|
||||
std::cout << "Icinga (version: " << Application::GetVersion() << ")\n";
|
||||
|
||||
while (std::cin.good()) {
|
||||
String fileName = "<" + Convert::ToString(next_line) + ">";
|
||||
next_line++;
|
||||
|
|
Loading…
Reference in New Issue