improve trace list output
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Tue, 28 Aug 2007 12:06:15 +0200
changeset 1377 2fcc78ee9558
parent 1376 ad7e61edfb9d
child 1378 69391eb72cb3
improve trace list output
src/core/trace-resolver.cc
--- a/src/core/trace-resolver.cc	Tue Aug 28 12:05:35 2007 +0200
+++ b/src/core/trace-resolver.cc	Tue Aug 28 12:06:15 2007 +0200
@@ -100,10 +100,10 @@
   for (SourceVector::const_iterator i = m_sources.begin (); i != m_sources.end (); i++)
     {
       os << "source=" << i->path << std::endl;
-      os << "TraceContextElement=";
-      i->context.PrintAvailable (os, " ");
-      os << std::endl;
-      os << i->help << std::endl;
+      os << "TraceContext=[";
+      i->context.PrintAvailable (os, ",");
+      os << "]" << std::endl;
+      os << "help=\"" << i->help << "\"" << std::endl;
       os << std::endl;
     }
 }