diff options
Diffstat (limited to 'argv.template.go')
| -rw-r--r-- | argv.template.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/argv.template.go b/argv.template.go index 35a8c99..4af2c7a 100644 --- a/argv.template.go +++ b/argv.template.go @@ -10,6 +10,7 @@ import ( "go.wit.com/dev/alexflint/arg" "go.wit.com/gui" + "go.wit.com/lib/ENV" "go.wit.com/lib/fhelp" "go.wit.com/log" ) @@ -63,8 +64,8 @@ func (args) InitGui() error { func (args) Exit() { gui.UnloadToolkits() - if me.argv.Verbose() { - log.Info("argv.Exit() called", APPNAME+".Exit() because me.argv.Verbose() == true") + if ENV.Verbose() { + log.Info("argv.Exit() called", APPNAME+".Exit() because ENV.Verbose() == true") } // remove this from the template for your app (or make one for youself if you need it) forgeExit() // custom forge shutdown function |
