summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKerin Millar <kfm@plushkava.net>2024-08-02 15:54:01 +0100
committerKerin Millar <kfm@plushkava.net>2024-08-02 17:21:14 +0100
commit1d2c629638374fd9d784e142065b63d3551dad34 (patch)
tree2e814606f7548bac8d961f9b7caf441aa63fc509
parentMove is_subset() to experimental (diff)
downloadgentoo-functions-1d2c629638374fd9d784e142065b63d3551dad34.tar.gz
gentoo-functions-1d2c629638374fd9d784e142065b63d3551dad34.tar.bz2
gentoo-functions-1d2c629638374fd9d784e142065b63d3551dad34.zip
Explain that get_nprocs() is called by parallel_run()
Signed-off-by: Kerin Millar <kfm@plushkava.net>
-rw-r--r--functions.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/functions.sh b/functions.sh
index 69b9bf5..4fe0e86 100644
--- a/functions.sh
+++ b/functions.sh
@@ -300,10 +300,10 @@ oldest()
# Executes a simple command in parallel. At least two parameters are expected.
# The first parameter shall be taken as the maximum number of jobs to run
# concurrently. If specified as less than or equal to 0, the number shall be
-# determined by running the nproc function. The second parameter shall be taken
-# as a command name. The remaining parameters shall be conveyed to the specified
-# command, one at a time. Should at least one command fail, the return value
-# shall be greater than 0.
+# determined by calling the get_nprocs function. The second parameter shall be
+# taken as a command name. The remaining parameters shall be conveyed to the
+# specified command, one at a time. Should at least one command fail, the
+# return value shall be greater than 0.
#
parallel_run()
{