From 1d73d80236e380f26f32f1737cc2f36d980715d1 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 16 Mar 2010 06:17:57 +0000 Subject: [PATCH] Bug #309699 - Update --emptytree docs. Thanks to Ben Kohler for wording suggestions. svn path=/main/trunk/; revision=15831 --- man/emerge.1 | 8 ++++---- pym/_emerge/help.py | 10 ++++++---- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/man/emerge.1 b/man/emerge.1 index 7b232056d..f451e2f67 100644 --- a/man/emerge.1 +++ b/man/emerge.1 @@ -354,10 +354,10 @@ behavior with respect to build time dependencies that are not strictly required. .TP .BR "\-\-emptytree " (\fB\-e\fR) -Reinstalls all world packages and their dependencies to the current USE -specifications while differing from the installed set of packages as -little as possible. You should run with \fB\-\-pretend\fR first to make -sure the result is what you expect. +Reinstalls target atoms and their entire deep +dependency tree, as though no packages are currently +installed. You should run this with \fB\-\-pretend\fR +first to make sure the result is what you expect. .TP .BR "\-\-fail\-clean[=n]" Clean up temporary files after a build failure. This is diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py index 409bbe290..0a3cf3e6e 100644 --- a/pym/_emerge/help.py +++ b/pym/_emerge/help.py @@ -372,10 +372,12 @@ def help(myopts, havecolor=1): print(" dependencies that are not strictly required.") print() print(" "+green("--emptytree")+" ("+green("-e")+" short option)") - print(" Virtually tweaks the tree of installed packages to contain") - print(" nothing. This is great to use together with --pretend. This makes") - print(" it possible for developers to get a complete overview of the") - print(" complete dependency tree of a certain package.") + desc = "Reinstalls target atoms and their entire deep " + \ + "dependency tree, as though no packages are currently " + \ + "installed. You should run this with --pretend " + \ + "first to make sure the result is what you expect." + for line in wrap(desc, desc_width): + print(desc_indent + line) print() print(" "+green("--fail-clean[=n]")) desc = "Clean up temporary files after a build failure. This is " + \ -- 2.26.2