aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/emerge.14
-rw-r--r--pym/_emerge/help.py6
2 files changed, 9 insertions, 1 deletions
diff --git a/man/emerge.1 b/man/emerge.1
index f7ad3ed5a..aa85a7bf2 100644
--- a/man/emerge.1
+++ b/man/emerge.1
@@ -307,6 +307,10 @@ disable this option by default in \fBmake.conf\fR(5).
.BR "\-\-autounmask\-write [ y | n ]"
If \-\-autounmask is enabled, changes are written
to config files, respecting \fBCONFIG_PROTECT\fR and \fB\-\-ask\fR.
+If the corresponding package.* is a file, the changes are appended to
+it, if it is a directory, changes are written to the lexicographically
+last file. This way it is always ensured that the new changes take
+precedence over existing changes.
.TP
.BR \-\-backtrack=COUNT
Specifies an integer number of times to backtrack if
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py
index 57b376d55..1e62ccf1d 100644
--- a/pym/_emerge/help.py
+++ b/pym/_emerge/help.py
@@ -326,7 +326,11 @@ def help(myopts, havecolor=1):
print(" " + green("--autounmask-write") + " [ %s | %s ]" % \
(turquoise("y"), turquoise("n")))
desc = "If --autounmask is enabled, changes are written " + \
- "to config files, respecting CONFIG_PROTECT and --ask."
+ "to config files, respecting CONFIG_PROTECT and --ask. " + \
+ "If the corresponding package.* is a file, the changes are " + \
+ "appended to it, if it is a directory, changes are written to " + \
+ "the lexicographically last file. This way it is always ensured " + \
+ "that the new changes take precedence over existing changes."
for line in wrap(desc, desc_width):
print(desc_indent + line)
print()