ref: refs/heads/master
commit 3b5d0fe64c2a4b343335b76696d56902792e01a6
Author: Ján Kupec
Date: Tue Jun 30 11:17:22 2009 +0200
Show verbose summary when -v is used (bnc #517171)
---
src/solve-commit.cc | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/src/solve-commit.cc b/src/solve-commit.cc
index 4969129..2653526 100755
--- a/src/solve-commit.cc
+++ b/src/solve-commit.cc
@@ -425,6 +425,11 @@ void solve_and_commit (Zypper & zypper)
if (platform && platform->name().find("SUSE_SLE") != string::npos)
summary.setViewOption(Summary::SHOW_UNSUPPORTED);
+ if (zypper.out().verbosity() == Out::HIGH)
+ summary.setViewOption(Summary::SHOW_VERSION);
+ else if (zypper.out().verbosity() == Out::DEBUG)
+ summary.setViewOption(Summary::SHOW_ALL);
+
// show the summary
if (zypper.out().type() == Out::TYPE_XML)
summary.dumpAsXmlTo(cout);
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org