From: Michael Friedrich Date: Wed, 5 Nov 2014 17:23:40 +0000 (+0100) Subject: Cli: Fix missing single quote in 'object list' output X-Git-Tag: v2.2.0~118 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b5f92e57baf3ce3fa9162d651c62f702d8047fd;p=icinga2 Cli: Fix missing single quote in 'object list' output fixes #7584 --- diff --git a/lib/cli/objectlistcommand.cpp b/lib/cli/objectlistcommand.cpp index b28448a58..6c7c99b90 100644 --- a/lib/cli/objectlistcommand.cpp +++ b/lib/cli/objectlistcommand.cpp @@ -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);