aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-12 18:26:02 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-07-12 18:26:02 +0000
commit51c21c13138bc52953558d0e145b8d34471eb55e (patch)
tree53d0765507da0851d30dc24b83341e8e1b147788
parentb2feee52c34e21fbd421e75de70a48d3a1930df1 (diff)
downloadpaludis-51c21c13138bc52953558d0e145b8d34471eb55e.tar.gz
paludis-51c21c13138bc52953558d0e145b8d34471eb55e.tar.xz
Display package names in colour when showing world file changes.
-rw-r--r--src/paludis/install.cc5
-rw-r--r--src/paludis/uninstall.cc2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/paludis/install.cc b/src/paludis/install.cc
index 03a08ab..462e4a1 100644
--- a/src/paludis/install.cc
+++ b/src/paludis/install.cc
@@ -63,13 +63,14 @@ namespace
void
world_add_callback(const p::PackageDepAtom * const p)
{
- cout << "* adding " << *p << endl;
+ cout << "* adding " << colour(cl_package_name, stringify(*p)) << endl;
}
void
world_skip_callback(const p::PackageDepAtom * const p, const std::string & why)
{
- cout << "* skipping " << *p << " (" << why << ")" << endl;
+ cout << "* skipping " << colour(cl_package_name, stringify(*p))
+ << " (" << why << ")" << endl;
}
}
diff --git a/src/paludis/uninstall.cc b/src/paludis/uninstall.cc
index 6e64df9..b16ea61 100644
--- a/src/paludis/uninstall.cc
+++ b/src/paludis/uninstall.cc
@@ -36,7 +36,7 @@ namespace
{
void world_remove_callback(const p::PackageDepAtom * const p)
{
- cout << "* removing " << *p << endl;
+ cout << "* removing " << colour(cl_package_name, stringify(*p)) << endl;
}
}