summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-05-27 04:17:12 -0700
committerZac Medico <zmedico@gentoo.org>2010-05-27 04:17:12 -0700
commitec82842814ec2cb9846578ff2ae7a1ccbeec193d (patch)
tree353762fa67bea3ac37c86ed87b5d074d7b40dc38
parentMake parse_opts() bail out when not silent and an option parameter is (diff)
downloadportage-idfetch-ec82842814ec2cb9846578ff2ae7a1ccbeec193d.tar.gz
portage-idfetch-ec82842814ec2cb9846578ff2ae7a1ccbeec193d.tar.bz2
portage-idfetch-ec82842814ec2cb9846578ff2ae7a1ccbeec193d.zip
Add help for --rebuilt-binaries-timestamp.
-rw-r--r--man/emerge.12
-rw-r--r--pym/_emerge/help.py9
2 files changed, 10 insertions, 1 deletions
diff --git a/man/emerge.1 b/man/emerge.1
index d1b73778..44cb292f 100644
--- a/man/emerge.1
+++ b/man/emerge.1
@@ -504,7 +504,7 @@ automatically when using binary packages
(\fB\-\-usepkgonly\fR or \fB\-\-getbinpkgonly\fR) together with
\fB\-\-update\fR and \fB\-\-deep\fR.
.TP
-.BR "\-\-rebuilt\-binaries\-timestamp[=TIMESTAMP]"
+.BR "\-\-rebuilt\-binaries\-timestamp=TIMESTAMP"
This option modifies emerge's behaviour only if
\fB\-\-rebuilt\-binaries\fR is given. Only binaries that
have a BUILD_TIME that is larger than the given TIMESTAMP
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py
index 8d6fcb25..fd49adeb 100644
--- a/pym/_emerge/help.py
+++ b/pym/_emerge/help.py
@@ -546,6 +546,15 @@ def help(myopts, havecolor=1):
for line in wrap(desc, desc_width):
print(desc_indent + line)
print()
+ print(" "+green("--rebuilt-binaries-timestamp") + "=%s" % turquoise("TIMESTAMP"))
+ desc = "This option modifies emerge's behaviour only if " + \
+ "--rebuilt-binaries is given. Only binaries that " + \
+ "have a BUILD_TIME that is larger than the given TIMESTAMP " + \
+ "and that is larger than that of the installed package will " + \
+ "be considered by the rebuilt-binaries logic."
+ for line in wrap(desc, desc_width):
+ print(desc_indent + line)
+ print()
print(" "+green("--reinstall ") + turquoise("changed-use"))
print(" Tells emerge to include installed packages where USE flags have")
print(" changed since installation. Unlike --newuse, this option does")