summaryrefslogtreecommitdiff
path: root/args.go
diff options
context:
space:
mode:
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")
+}