summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--argv.template.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/argv.template.go b/argv.template.go
index a4dd38a..f6cd250 100644
--- a/argv.template.go
+++ b/argv.template.go
@@ -11,6 +11,7 @@ import (
"go.wit.com/dev/alexflint/arg"
"go.wit.com/gui"
"go.wit.com/lib/fhelp"
+ "go.wit.com/log"
)
func (args) InitArgv() (string, string, string) {
@@ -43,6 +44,13 @@ func (args) InitGui() error {
return nil
}
+func (args) Exit() {
+ gui.UnloadToolkits()
+ if me.argv.Verbose() {
+ log.Info("argv.Exit() called", APPNAME + ".Exit()")
+ }
+}
+
func (args) Help() string {
return "got app help"
}