aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-24 20:48:35 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-24 20:48:35 +0100
commit1032ace47d1a062f8532cad762029dbafab0f6a6 (patch)
treec4fa7d4a981bf238d0f36c2257f2f83042dae6cd
parent7b0100a955197d5905becc400e85b97710a2e7c8 (diff)
downloadpaludis-1032ace47d1a062f8532cad762029dbafab0f6a6.tar.gz
paludis-1032ace47d1a062f8532cad762029dbafab0f6a6.tar.xz
output tweaks
-rw-r--r--src/clients/cave/cmd_display_resolution.cc17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/clients/cave/cmd_display_resolution.cc b/src/clients/cave/cmd_display_resolution.cc
index 235bc14..1c6aa8f 100644
--- a/src/clients/cave/cmd_display_resolution.cc
+++ b/src/clients/cave/cmd_display_resolution.cc
@@ -223,9 +223,10 @@ namespace
const bool verbose)
{
if (resolution->resolvent().slot_name_or_null())
- cout << "? ] " << c::bold_red() << resolution->resolvent() << c::normal();
+ cout << "? " << c::bold_red() << resolution->resolvent() << c::normal();
else
- cout << "? ] " << c::bold_red() << resolution->resolvent().package() << c::normal();
+ cout << "? " << c::bold_red() << resolution->resolvent().package()
+ << " -> " << resolution->resolvent().destination_type() << c::normal();
cout << " (no decision could be reached)" << endl;
display_reasons(resolution, verbose);
@@ -299,21 +300,21 @@ namespace
if (! (*c)->decision()->taken())
{
- cout << "-" << destination_string << "] " << c::blue() << id->canonical_form(idcf_no_version);
+ cout << "-" << destination_string << " " << c::blue() << id->canonical_form(idcf_no_version);
}
else if (is_new)
{
if (other_slots)
- cout << "s" << destination_string << "] " << c::bold_blue() << id->canonical_form(idcf_no_version);
+ cout << "s" << destination_string << " " << c::bold_blue() << id->canonical_form(idcf_no_version);
else
- cout << "n" << destination_string << "] " << c::bold_blue() << id->canonical_form(idcf_no_version);
+ cout << "n" << destination_string << " " << c::bold_blue() << id->canonical_form(idcf_no_version);
}
else if (is_upgrade)
- cout << "u" << destination_string << "] " << c::blue() << id->canonical_form(idcf_no_version);
+ cout << "u" << destination_string << " " << c::blue() << id->canonical_form(idcf_no_version);
else if (is_reinstall)
- cout << "r" << destination_string << "] " << c::yellow() << id->canonical_form(idcf_no_version);
+ cout << "r" << destination_string << " " << c::yellow() << id->canonical_form(idcf_no_version);
else if (is_downgrade)
- cout << "d" << destination_string << "] " << c::bold_yellow() << id->canonical_form(idcf_no_version);
+ cout << "d" << destination_string << " " << c::bold_yellow() << id->canonical_form(idcf_no_version);
else
throw InternalError(PALUDIS_HERE, "why did that happen?");