diff options
Diffstat (limited to 'args.go')
| -rw-r--r-- | args.go | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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") +} |
