ref: refs/heads/ma-misc
commit 58ec8609451ff71c56033562fbaea7e530c0d61e
Author: Michael Andres
Date: Thu Jul 16 16:58:45 2009 +0200
Include vendor in output
---
tools/NameReqPrv.cc | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diff --git a/tools/NameReqPrv.cc b/tools/NameReqPrv.cc
index dc3fdaa..108cfcd 100644
--- a/tools/NameReqPrv.cc
+++ b/tools/NameReqPrv.cc
@@ -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;
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org