remove deprecated code

This commit is contained in:
Jeff Carr 2024-02-12 21:52:48 -06:00
parent 4348b1636c
commit c9f149bcb2
2 changed files with 0 additions and 9 deletions

View File

@ -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/)"`

View File

@ -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()