]> granicus.if.org Git - icinga2/commitdiff
Improve message formatting for the 'icinga2 node wizard' command
authorGunnar Beutner <gunnar.beutner@icinga.com>
Tue, 29 Aug 2017 09:57:42 +0000 (11:57 +0200)
committerGunnar Beutner <gunnar.beutner@icinga.com>
Tue, 12 Sep 2017 10:52:49 +0000 (12:52 +0200)
refs #5450

lib/cli/nodewizardcommand.cpp

index 37b80f9664570b654128ad9d6dfb9be45e891988..e86b159703da2b5cc4e837e12a33a250cf4a9883 100644 (file)
@@ -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<std::string> enable;
                enable.push_back("api");