diff options
Diffstat (limited to 'argv.go')
| -rw-r--r-- | argv.go | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -0,0 +1,17 @@ +package main + +/* + this enables command line options from other packages like 'gui' and 'log' +*/ + +import ( + arg "github.com/alexflint/go-arg" + "go.wit.com/gui/gui" + "go.wit.com/log" +) + + +func init() { + arg.MustParse() + log.Bool(true, "INIT() args.ArgDebug =", gui.ArgDebug()) +} |
