projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bce7f7b
)
Include vendor in output
author
Michael Andres
<ma@suse.de>
Thu, 16 Jul 2009 14:58:45 +0000
(16:58 +0200)
committer
Michael Andres
<ma@suse.de>
Thu, 16 Jul 2009 14:58:45 +0000
(16:58 +0200)
tools/NameReqPrv.cc
patch
|
blob
|
history
diff --git
a/tools/NameReqPrv.cc
b/tools/NameReqPrv.cc
index
dc3fdaa
..
108cfcd
100644
(file)
--- 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;