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