summaryrefslogtreecommitdiff
path: root/argv.template.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-21 06:56:15 -0500
committerJeff Carr <[email protected]>2025-10-21 06:56:15 -0500
commit01903c7b2effa15c6a67235e8f296b28a742feec (patch)
tree30ceef5f48cc9018e6c193d78e43d51cf548a594 /argv.template.go
parentb4847ca612aea488de3a9bf16ef77507c1e22520 (diff)
use ENV
Diffstat (limited to 'argv.template.go')
-rw-r--r--argv.template.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/argv.template.go b/argv.template.go
index e7a9948..1808722 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,7 +64,7 @@ func (args) InitGui() error {
func (args) Exit() {
gui.UnloadToolkits()
- if me.argv.Verbose() {
+ if ENV.Verbose() {
log.Info("argv.Exit() called", APPNAME+".Exit()")
}
// remove this from the template for your app (or make one for youself if you need it)