Include vendor in output
authorMichael Andres <ma@suse.de>
Thu, 16 Jul 2009 14:58:45 +0000 (16:58 +0200)
committerMichael Andres <ma@suse.de>
Thu, 16 Jul 2009 14:58:45 +0000 (16:58 +0200)
tools/NameReqPrv.cc

index dc3fdaa..108cfcd 100644 (file)
@@ -176,7 +176,15 @@ int main( int argc, char * argv[] )
 
     for_( it, q.begin(), q.end() )
     {
-      message << "  " << dump(it) << endl;
+      message << "  " << *it << "(" << it->vendor() << ")";
+      if ( ! it.matchesEmpty() )
+      {
+        for_( match, it.matchesBegin(), it.matchesEnd() )
+        {
+          message << endl << "    " << match->inSolvAttr() << "\t" << match->asString();
+        }
+      }
+      message << endl;
     }
 
     message << "}" << endl;