summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--args.go4
-rw-r--r--main.go4
3 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 08274af..5bbb710 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
run: build
# ./control-panel-dns >/tmp/witgui.log.stderr 2>&1
- ./control-panel-dns --gui-debug
+ ./control-panel-dns --debugger
install:
go install -v go.wit.com/control-panel-dns@latest
diff --git a/args.go b/args.go
index 49f07b1..39a2ee6 100644
--- a/args.go
+++ b/args.go
@@ -10,7 +10,7 @@ import (
"time"
arg "github.com/alexflint/go-arg"
"go.wit.com/log"
- "go.wit.com/gui/gui"
+ "go.wit.com/gui/debugger"
)
var args struct {
@@ -37,7 +37,7 @@ func init() {
SPEW.Desc = "spew logging"
SPEW.Register()
- if gui.ArgDebug() {
+ if debugger.ArgDebug() {
log.Log(true, "INIT() gui debug == true")
} else {
log.Log(true, "INIT() gui debug == false")
diff --git a/main.go b/main.go
index b1be1b0..6dc3b53 100644
--- a/main.go
+++ b/main.go
@@ -46,8 +46,8 @@ func main() {
sleep(me.artificialSleep)
setupControlPanelWindow()
- sleep(2)
- if gui.ArgDebug() {
+ if debugger.ArgDebug() {
+ sleep(2)
debugger.DebugWindow(myGui)
}