aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/mbf
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mbf')
-rw-r--r--cmd/mbf/main.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go
index c79a61bf..a9d9a0c8 100644
--- a/cmd/mbf/main.go
+++ b/cmd/mbf/main.go
@@ -72,6 +72,7 @@ func main() {
var (
flagQuiet bool
flagCures int
+ flagJobs int
flagBase string
flagIdle bool
@@ -99,7 +100,7 @@ func main() {
if flagHostAbstract {
flags |= pkg.CHostAbstract
}
- cache, err = pkg.Open(ctx, msg, flags, flagCures, base)
+ cache, err = pkg.Open(ctx, msg, flags, flagCures, flagJobs, base)
return
}).Flag(
@@ -111,6 +112,10 @@ func main() {
"cures", command.IntFlag(0),
"Maximum number of dependencies to cure at any given time",
).Flag(
+ &flagJobs,
+ "jobs", command.IntFlag(0),
+ "Preferred number of jobs to run, when applicable",
+ ).Flag(
&flagBase,
"d", command.StringFlag("$MBF_CACHE_DIR"),
"Directory to store cured artifacts",