summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-16 13:58:28 -0500
committerJeff Carr <[email protected]>2025-10-17 01:45:59 -0500
commit411226cf9df0814ff8e714958da87c853b519bc6 (patch)
treeeea63f72a2614a0cec3c844edbf7cf162e4257e2 /exit.go
parent28839452b290b83d409193044c5737a92cc1ec3e (diff)
A new life awaits you in the Off-world colonies!v0.0.39
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/exit.go b/exit.go
index aeab59c..1419ae2 100644
--- a/exit.go
+++ b/exit.go
@@ -1,4 +1,4 @@
-package prep
+package argvpb
import (
"fmt"
@@ -15,7 +15,7 @@ import (
// also, it supports a custom Exit() back to your application
-func (pb *Auto) GoodExit(msg string) {
+func (pb *Argv) GoodExit(msg string) {
go ExitWatchdog()
if me.appExit != nil {
me.appExit()
@@ -25,7 +25,7 @@ func (pb *Auto) GoodExit(msg string) {
os.Exit(0)
}
-func (pb *Auto) BadExit(msg string, err error) {
+func (pb *Argv) BadExit(msg string, err error) {
go ExitWatchdog()
if me.appExit != nil {
me.appExit()