From: Zac Medico Date: Tue, 22 Feb 2011 17:31:50 +0000 (-0800) Subject: emerge: mention revdep-rebuild in depclean help X-Git-Tag: v2.1.9.41 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fefdf8621f1d10e8af9c6b98f40b90f1b19b07ab;p=portage.git emerge: mention revdep-rebuild in depclean help --- 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)