summaryrefslogtreecommitdiff
path: root/args.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-12 09:48:55 -0500
committerJeff Carr <[email protected]>2025-10-12 09:48:55 -0500
commitc30dbddf1e99479ea7bc229f31b71f46f5f28145 (patch)
treeb2d2f422fabe988e9370f3509ff65b86d8fce650 /args.go
parentb2feffce92c86fc88b942da92cbc8084ed2340be (diff)
try this trick to see if this'll workHEADv0.22.48v0.22.47v0.22.46guimasterdevel
Diffstat (limited to 'args.go')
-rw-r--r--args.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/args.go b/args.go
index 4f81c66..1e48f97 100644
--- a/args.go
+++ b/args.go
@@ -40,3 +40,15 @@ func init() {
CHAN = log.NewFlag("CHAN", true, full, short, "chan() test code output")
WARN = log.NewFlag("WARN", true, full, short, "should warn the user")
}
+
+func InitDebugger() {
+ arg.Register(&argDebugger)
+
+ full := "go.wit.com/bug/debugger"
+ short := "bugger"
+
+ INFO = log.NewFlag("INFO", false, full, short, "simple debugging Info()")
+ POLL = log.NewFlag("POLL", false, full, short, "watch the debugger poll things")
+ CHAN = log.NewFlag("CHAN", true, full, short, "chan() test code output")
+ WARN = log.NewFlag("WARN", true, full, short, "should warn the user")
+}