From c9f149bcb2ad96f08f3464639517e48a5c3cbdde Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Mon, 12 Feb 2024 21:52:48 -0600 Subject: [PATCH] remove deprecated code --- args.go | 1 - main.go | 8 -------- 2 files changed, 9 deletions(-) diff --git a/args.go b/args.go index 58be509..36d6918 100644 --- a/args.go +++ b/args.go @@ -13,7 +13,6 @@ import ( ) 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"` Repo string `arg:"--repo" help:"go get path to the repo"` PkgDir string `arg:"--pkg-dir" help:"set default directory (~/incoming/)"` diff --git a/main.go b/main.go index 78884ef..b88749c 100644 --- a/main.go +++ b/main.go @@ -26,14 +26,6 @@ func main() { println("go-deb --repo go.wit.com/apps/helloworld") 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.Default()