diff options
Diffstat (limited to 'cmd/mbf')
| -rw-r--r-- | cmd/mbf/main.go | 24 |
1 files changed, 5 insertions, 19 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go index c5a8868b..17ae1b05 100644 --- a/cmd/mbf/main.go +++ b/cmd/mbf/main.go @@ -69,11 +69,10 @@ func main() { }() var ( - flagQuiet bool - flagCures int - flagBase string - flagTShift int - flagIdle bool + flagQuiet bool + flagCures int + flagBase string + flagIdle bool ) c := command.New(os.Stderr, log.Printf, "mbf", func([]string) (err error) { msg.SwapVerbose(!flagQuiet) @@ -89,16 +88,7 @@ func main() { } else if base, err = check.NewAbs(flagBase); err != nil { return } - if cache, err = pkg.Open(ctx, msg, flagCures, base); err == nil { - if flagTShift < 0 { - cache.SetThreshold(0) - } else if flagTShift > 31 { - cache.SetThreshold(1 << 31) - } else { - cache.SetThreshold(1 << flagTShift) - } - } - + cache, err = pkg.Open(ctx, msg, 0, flagCures, base) if flagIdle { pkg.SetSchedIdle = true } @@ -117,10 +107,6 @@ func main() { "d", command.StringFlag("$MBF_CACHE_DIR"), "Directory to store cured artifacts", ).Flag( - &flagTShift, - "tshift", command.IntFlag(-1), - "Dependency graph size exponent, to the power of 2", - ).Flag( &flagIdle, "sched-idle", command.BoolFlag(false), "Set SCHED_IDLE scheduling policy", |
