From 8d05fc99c95f07474132a84c1b72165e8e3a1912 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 29 Aug 2017 11:57:42 +0200 Subject: [PATCH] Improve message formatting for the 'icinga2 node wizard' command refs #5450 --- lib/cli/nodewizardcommand.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cli/nodewizardcommand.cpp b/lib/cli/nodewizardcommand.cpp index 37b80f966..e86b15970 100644 --- a/lib/cli/nodewizardcommand.cpp +++ b/lib/cli/nodewizardcommand.cpp @@ -79,7 +79,7 @@ int NodeWizardCommand::Run(const boost::program_options::variables_map& vm, << "\n" << "We'll guide you through all required configuration details.\n" << "\n" - << "\n\n" << ConsoleColorTag(Console_Normal); + << ConsoleColorTag(Console_Normal); //TODO: Add sort of bash completion to path input? @@ -368,7 +368,7 @@ wizard_ticket: String bind_port = answer; bind_port = bind_port.Trim(); - std::cout << ConsoleColorTag(Console_Bold) + std::cout << ConsoleColorTag(Console_Bold) << "\n" << "Accept config from master?" << ConsoleColorTag(Console_Normal) << " [y/N]: "; std::getline(std::cin, answer); @@ -393,7 +393,7 @@ wizard_ticket: disable.push_back("notification"); FeatureUtility::DisableFeatures(disable); - Log(LogInformation, "cli", "Enabling the Apilistener feature."); + Log(LogInformation, "cli", "Enabling the ApiListener feature."); std::vector enable; enable.push_back("api");