]> granicus.if.org Git - icinga2/commitdiff
Cli: Fix missing single quote in 'object list' output
authorMichael Friedrich <michael.friedrich@netways.de>
Wed, 5 Nov 2014 17:23:40 +0000 (18:23 +0100)
committerMichael Friedrich <michael.friedrich@netways.de>
Wed, 5 Nov 2014 17:23:40 +0000 (18:23 +0100)
fixes #7584

lib/cli/objectlistcommand.cpp

index b28448a581c214271d0d3715344029817e371f39..6c7c99b90813cf86c9cda068a52f4134a06fd103 100644 (file)
@@ -136,7 +136,7 @@ void ObjectListCommand::PrintObject(std::ostream& fp, bool& first, const String&
 
        Dictionary::Ptr debug_hints = object->Get("debug_hints");
 
-       fp << "Object " << ConsoleColorTag(Console_ForegroundBlue | Console_Bold) << internal_name << ConsoleColorTag(Console_Normal) << "'";
+       fp << "Object '" << ConsoleColorTag(Console_ForegroundBlue | Console_Bold) << internal_name << ConsoleColorTag(Console_Normal) << "'";
        fp << " of type '" << ConsoleColorTag(Console_ForegroundMagenta | Console_Bold) << type << ConsoleColorTag(Console_Normal) << "':\n";
 
        PrintProperties(fp, properties, debug_hints, 2);