summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
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()