aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-16 16:13:12 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-01-16 16:13:12 +0000
commit23abb96bd856b730aedbcfb2f493f218d126b4ab (patch)
treeb2041fc8d6637a30e5c72e4e9c7d226d23407cbd
parentb23a44f186036018f9ec490f2d8b956f5277be51 (diff)
downloadpaludis-23abb96bd856b730aedbcfb2f493f218d126b4ab.tar.gz
paludis-23abb96bd856b730aedbcfb2f493f218d126b4ab.tar.xz
Show suggested deps in query
-rw-r--r--src/clients/paludis/query.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/clients/paludis/query.cc b/src/clients/paludis/query.cc
index 8e00523..f3cff4a 100644
--- a/src/clients/paludis/query.cc
+++ b/src/clients/paludis/query.cc
@@ -180,6 +180,8 @@ void do_one_package_query(
" " << metadata->deps.run_depend_string << endl;
cout << " " << std::setw(22) << std::left << "PDEPEND:" << std::setw(0) <<
" " << metadata->deps.post_depend_string << endl;
+ cout << " " << std::setw(22) << std::left << "SDEPEND:" << std::setw(0) <<
+ " " << metadata->deps.suggested_depend_string << endl;
if (metadata->get_cran_interface())
{
@@ -275,6 +277,14 @@ void do_one_package_query(
cout << " " << std::setw(22) << std::left << "Post dependencies:" << std::setw(0)
<< endl << p_depend;
}
+
+ if (! metadata->deps.suggested_depend_string.empty())
+ {
+ DepAtomPrettyPrinter s_depend(12);
+ metadata->deps.suggested_depend()->accept(&s_depend);
+ cout << " " << std::setw(22) << std::left << "Suggested dependencies:" << std::setw(0)
+ << endl << s_depend;
+ }
}
if (metadata->origins.source)