minor
This commit is contained in:
parent
c8fdd11ab6
commit
0abb2f7861
5
main.go
5
main.go
|
@ -7,7 +7,6 @@ import (
|
|||
|
||||
"go.wit.com/dev/alexflint/arg"
|
||||
"go.wit.com/gui"
|
||||
"go.wit.com/lib/gui/gowit"
|
||||
"go.wit.com/lib/gui/shell"
|
||||
"go.wit.com/lib/protobuf/forgepb"
|
||||
"go.wit.com/log"
|
||||
|
@ -83,10 +82,6 @@ func main() {
|
|||
// which should be all the git repositories in ~/go/src & the .config file
|
||||
me.repos = makeRepoView()
|
||||
|
||||
if argv.DumpVersions {
|
||||
gowit.DumpVersions(me.repos.View)
|
||||
os.Exit(0)
|
||||
}
|
||||
// the left side of the window options
|
||||
globalDisplayOptions(me.mainBox)
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@ package main
|
|||
|
||||
import (
|
||||
"go.wit.com/lib/gadgets"
|
||||
"go.wit.com/lib/gui/gowit"
|
||||
"go.wit.com/lib/gui/repolist"
|
||||
"go.wit.com/log"
|
||||
|
||||
|
@ -57,11 +56,6 @@ func makeRepoView() *repoWindow {
|
|||
// hbox.Horizontal()
|
||||
hbox.Vertical()
|
||||
|
||||
box2 := hbox.Box().Vertical()
|
||||
box2.NewButton("Dump version file", func() {
|
||||
gowit.DumpVersions(me.repos.View)
|
||||
})
|
||||
|
||||
r.View = repolist.InitBox(me.forge, r.box)
|
||||
r.View.Enable()
|
||||
|
||||
|
|
Loading…
Reference in New Issue