summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.go b/main.go
index a57b5ab..eb37459 100644
--- a/main.go
+++ b/main.go
@@ -7,6 +7,7 @@ import (
"time"
"go.wit.com/dev/alexflint/arg"
+ "go.wit.com/lib/fhelp"
"go.wit.com/lib/gui/prep"
"go.wit.com/lib/protobuf/forgepb"
"go.wit.com/log"
@@ -34,9 +35,13 @@ func main() {
if err := me.forge.InitPatchsets(); err != nil {
log.Info("patches failed to open", err)
+ badExit(err)
}
if argv.List != nil {
+ log.Printf("forge.Init() %s len()=%d\n", me.forge.Config.Filename, me.forge.Repos.Len())
+ fhelp.DumpENV("finit:")
+ me.forge.Config.DumpENV()
doList()
okExit("")
}