aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/mbf/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mbf/main.go')
-rw-r--r--cmd/mbf/main.go11
1 files changed, 10 insertions, 1 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go
index a6c74a0f..37f799c8 100644
--- a/cmd/mbf/main.go
+++ b/cmd/mbf/main.go
@@ -696,6 +696,7 @@ func main() {
flagNoReply bool
flagFaults bool
flagPop bool
+ flagRebuild bool
flagBoot bool
flagStd bool
@@ -724,7 +725,11 @@ func main() {
default:
var pathname *check.Absolute
err := cm.Do(func(cache *pkg.Cache) (err error) {
- pathname, _, err = cache.Cure(a)
+ if flagRebuild {
+ pathname, _, err = cache.CureNew(a)
+ } else {
+ pathname, _, err = cache.Cure(a)
+ }
return
})
if err != nil {
@@ -885,6 +890,10 @@ func main() {
&flagPop,
"pop", command.BoolFlag(false),
"Display and destroy the most recent fault entry",
+ ).Flag(
+ &flagRebuild,
+ "rebuild", command.BoolFlag(false),
+ "Always enter the artifact implementation",
)
}