summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-07-29 12:05:43 +0000
committerZac Medico <zmedico@gentoo.org>2008-07-29 12:05:43 +0000
commitd85aa8088a5cd4bc27b7d2d568242e5c84a758a0 (patch)
tree9ae2c3668bd46ada351a358bab22b5a32a4aee94 /man
parentIn apply_recursive_permissions(), ignore InvalidLocation exceptions such as (diff)
downloadportage-idfetch-d85aa8088a5cd4bc27b7d2d568242e5c84a758a0.tar.gz
portage-idfetch-d85aa8088a5cd4bc27b7d2d568242e5c84a758a0.tar.bz2
portage-idfetch-d85aa8088a5cd4bc27b7d2d568242e5c84a758a0.zip
Add support for the --jobs option to be specified without an
argument, and also support -j as a short option. Since optparse doesn't natively support options with non-required args, create an insert_optional_args() function that inserts the required argument into the args so that optparse is happy. The function inserts the string True as a substitute for the argument that is required. This string is later converted to the True constant when stored in the emerge opts dict (similar to how normal boolean options are stored). The PollScheduler and SequentialTaskQueue classes recognize the meaning of the True constant to mean unlimited concurrent jobs. svn path=/main/trunk/; revision=11261
Diffstat (limited to 'man')
-rw-r--r--man/emerge.17
1 files changed, 4 insertions, 3 deletions
diff --git a/man/emerge.1 b/man/emerge.1
index 59d335f6..e252c19b 100644
--- a/man/emerge.1
+++ b/man/emerge.1
@@ -323,9 +323,10 @@ directory.
.BR "\-\-ignore-default-opts"
Causes \fIEMERGE_DEFAULT_OPTS\fR (see \fBmake.conf\fR(5)) to be ignored.
.TP
-.BR \-\-jobs=JOBS
-Specifies the number of packages to build simultaneously. Also see
-the related \fB\-\-load\-average\fR option.
+.BR "-j [JOBS], \-\-jobs[=JOBS]"
+Specifies the number of packages to build simultaneously. If this option is
+given without an argument, emerge will not limit the number of jobs that can
+run simultaneously. Also see the related \fB\-\-load\-average\fR option.
.TP
.BR "\-\-keep\-going"
Continue as much as possible after an error. When an error occurs,