remove deprecated code
This commit is contained in:
parent
4348b1636c
commit
c9f149bcb2
1
args.go
1
args.go
|
@ -13,7 +13,6 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
var args struct {
|
var args struct {
|
||||||
TmpLog bool `arg:"--tmp-log" help:"automatically send STDOUT to /tmp"`
|
|
||||||
NoGui bool `arg:"--no-gui" help:"don't open the gui, just make the .deb"`
|
NoGui bool `arg:"--no-gui" help:"don't open the gui, just make the .deb"`
|
||||||
Repo string `arg:"--repo" help:"go get path to the repo"`
|
Repo string `arg:"--repo" help:"go get path to the repo"`
|
||||||
PkgDir string `arg:"--pkg-dir" help:"set default directory (~/incoming/)"`
|
PkgDir string `arg:"--pkg-dir" help:"set default directory (~/incoming/)"`
|
||||||
|
|
8
main.go
8
main.go
|
@ -26,14 +26,6 @@ func main() {
|
||||||
println("go-deb --repo go.wit.com/apps/helloworld")
|
println("go-deb --repo go.wit.com/apps/helloworld")
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
}
|
}
|
||||||
if debugger.ArgDebug() {
|
|
||||||
log.SetAll(true)
|
|
||||||
log.ShowFlags()
|
|
||||||
}
|
|
||||||
if args.TmpLog {
|
|
||||||
// send all log() output to a file in /tmp
|
|
||||||
log.SetTmp()
|
|
||||||
}
|
|
||||||
myGui = gui.New()
|
myGui = gui.New()
|
||||||
myGui.Default()
|
myGui.Default()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue