projects
/
platform
/
upstream
/
zypper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e5f2fd
)
revert deletion of list-all-problems, but only if multiple problems
author
Klaus Kaempf
<kkaempf@suse.de>
Fri, 31 Aug 2007 13:22:22 +0000
(13:22 +0000)
committer
Klaus Kaempf
<kkaempf@suse.de>
Fri, 31 Aug 2007 13:22:22 +0000
(13:22 +0000)
exist
src/zypper-misc.cc
patch
|
blob
|
history
diff --git
a/src/zypper-misc.cc
b/src/zypper-misc.cc
index
ba971a2
..
42fadac
100644
(file)
--- a/
src/zypper-misc.cc
+++ b/
src/zypper-misc.cc
@@
-491,6
+491,14
@@
bool show_problems ()
stm << _("Specified capability not found") << endl;
return false;
}
+ // for many problems, list them shortly first
+ if (rproblems.size() > 1)
+ {
+ for (i = b; i != e; ++i) {
+ stm << _("Problem: ") << (*i)->description () << endl;
+ }
+ }
+ // now list all problems with solution proposals
for (i = b; i != e; ++i) {
stm << endl;
tribool stopnow = show_problem (*(*i), todo);