diff options
| author | Jeff Carr <[email protected]> | 2025-10-22 09:19:21 -0500 | 
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-22 09:19:21 -0500 | 
| commit | c292cbebfdfe37d9c8aa1a0cfdf86786374f4785 (patch) | |
| tree | 8f40597675bcbb6d0c4aa03bfd82a89e35f5691c | |
| parent | 65299beaf9cca2410bf01828b0f3afcfd701a633 (diff) | |
step1
| -rw-r--r-- | argv.template.go | 3 | ||||
| -rw-r--r-- | main.go | 2 | 
2 files changed, 3 insertions, 2 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) @@ -26,7 +26,7 @@ func main() {  	me.hostname, _ = os.Hostname()  	me.pollDelay = time.Hour  	me.machines = zoopb.NewMachines() -	if err := config.ConfigLoad(me.machines, "zookeeper", "machine"); err != nil { +	if err := config.ConfigLoad(me.machines); err != nil {  		badExit(err)  	}  	if argv.List != nil {  | 
