aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-22 12:47:50 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-01-22 12:47:50 +0000
commit41ab83381f30ecfbb48abadb1b89b465b0392e3b (patch)
treecb1d3d3d3832394cafc276c3b524f390b7a5492e
parente68d9de42edddf8eafe9463dbc2f0772bff949ec (diff)
downloadpaludis-41ab83381f30ecfbb48abadb1b89b465b0392e3b.tar.gz
paludis-41ab83381f30ecfbb48abadb1b89b465b0392e3b.tar.xz
Tweak list-categories output
-rw-r--r--src/list.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/list.cc b/src/list.cc
index 241420a..51b60c6 100644
--- a/src/list.cc
+++ b/src/list.cc
@@ -73,10 +73,7 @@ do_list_categories()
{
std::cout << "* " << colour(cl_package_name, c->first) << std::endl;
std::cout << " " << std::setw(22) << std::left << "found in:" <<
- std::setw(0) << " ";
- std::copy(c->second.begin(), c->second.end(),
- std::ostream_iterator<p::RepositoryName>(std::cout, " "));
- std::cout << std::endl;
+ std::setw(0) << " " << p::join(c->second.begin(), c->second.end(), ", ") << std::endl;
std::cout << std::endl;
}