From 32feea8d7f1d0a469eda2abc20dea41bbe88a749 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Wed, 15 Oct 2014 14:29:00 +0200 Subject: [PATCH] CLI: Fix object name in 'object list' refs #7251 --- lib/cli/objectlistcommand.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/objectlistcommand.cpp b/lib/cli/objectlistcommand.cpp index 08d0d3f65..7418d8301 100644 --- a/lib/cli/objectlistcommand.cpp +++ b/lib/cli/objectlistcommand.cpp @@ -133,7 +133,7 @@ void ObjectListCommand::ReadObject(const String& message, std::map& else msgbuf << "Object '"; - msgbuf << "\x1b[1;37m" << name << "\x1b[0m" << "'"; //light gray + msgbuf << "\x1b[1;37m" << properties->Get("__name") << "\x1b[0m" << "'"; //light gray msgbuf << " of type '" << "\x1b[1;34m" << type << "\x1b[0m" << "':\n"; //blue msgbuf << FormatProperties(properties, debug_hints, 2); -- 2.40.0