From 88a4d89c50b75959a8ed75c4ff59335202007f8a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 22 Feb 2011 09:31:50 -0800 Subject: [PATCH] emerge: mention revdep-rebuild in depclean help --- pym/_emerge/help.py | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py index bd6c0f235..2f8b342cd 100644 --- a/pym/_emerge/help.py +++ b/pym/_emerge/help.py @@ -94,11 +94,16 @@ def help(myopts, havecolor=1): "listed in package.provided (see portage(5)) may be removed by " + \ "depclean, even if they are part of the world set." - if not _ENABLE_DYN_LINK_MAP: - paragraph += " Also note that " + \ - "depclean may break link level dependencies. Thus, it is " + \ - "recommended to use a tool such as revdep-rebuild(1) " + \ - "in order to detect such breakage." + paragraph += " Also note that " + \ + "depclean may break link level dependencies" + + if _ENABLE_DYN_LINK_MAP: + paragraph += ", especially when the " + \ + "--depclean-lib-check option is disabled" + + paragraph += ". Thus, it is " + \ + "recommended to use a tool such as revdep-rebuild(1) " + \ + "in order to detect such breakage." for line in wrap(paragraph, desc_width): print(desc_indent + line) -- 2.26.2