diff --git a/lib/cli/replcommand.cpp b/lib/cli/replcommand.cpp index ebf03007b..4c1cfcec1 100644 --- a/lib/cli/replcommand.cpp +++ b/lib/cli/replcommand.cpp @@ -22,6 +22,7 @@ #include "config/configcompilercontext.hpp" #include "base/json.hpp" #include "base/console.hpp" +#include "base/application.hpp" #include using namespace icinga; @@ -65,6 +66,8 @@ int ReplCommand::Run(const po::variables_map& vm, const std::vector std::map lines; int next_line = 1; + std::cout << "Icinga (version: " << Application::GetVersion() << ")\n"; + while (std::cin.good()) { String fileName = "<" + Convert::ToString(next_line) + ">"; next_line++;