summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/help.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-07 18:48:41 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-07 18:48:41 -0700
commit7102ca56a6c492e4dfc7b984e031955b1e97ed21 (patch)
tree6de4bab73546b32a4cc9fe82c572490baebde406 /pym/_emerge/help.py
parentb7e91fab9e107c69729298f21e137c22713f8527 (diff)
downloadportage-7102ca56a6c492e4dfc7b984e031955b1e97ed21.tar.gz
portage-7102ca56a6c492e4dfc7b984e031955b1e97ed21.tar.bz2
portage-7102ca56a6c492e4dfc7b984e031955b1e97ed21.zip
Disable the --depclean-lib-check option when _ENABLE_DYN_LINK_MAP
is False.
Diffstat (limited to 'pym/_emerge/help.py')
-rw-r--r--pym/_emerge/help.py19
1 files changed, 11 insertions, 8 deletions
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py
index 371e00da2..0a4241d37 100644
--- a/pym/_emerge/help.py
+++ b/pym/_emerge/help.py
@@ -395,15 +395,18 @@ def help(myopts, havecolor=1):
print(" that are not directly listed in the dependencies of a package.")
print(" Also see --with-bdeps for behavior with respect to build time")
print(" dependencies that are not strictly required.")
- print()
- print(" " + green("--depclean-lib-check") + "[=%s]" % turquoise("n"))
- desc = "Account for library link-level dependencies during " + \
- "--depclean and --prune actions. This " + \
- "option is enabled by default. In some cases this can " + \
- "be somewhat time-consuming."
- for line in wrap(desc, desc_width):
- print(desc_indent + line)
print()
+
+ if _ENABLE_DYN_LINK_MAP:
+ print(" " + green("--depclean-lib-check") + "[=%s]" % turquoise("n"))
+ desc = "Account for library link-level dependencies during " + \
+ "--depclean and --prune actions. This " + \
+ "option is enabled by default. In some cases this can " + \
+ "be somewhat time-consuming."
+ for line in wrap(desc, desc_width):
+ print(desc_indent + line)
+ print()
+
print(" "+green("--emptytree")+" ("+green("-e")+" short option)")
desc = "Reinstalls target atoms and their entire deep " + \
"dependency tree, as though no packages are currently " + \