summaryrefslogtreecommitdiff
path: root/theMagicOfAutocomplete.go
diff options
context:
space:
mode:
Diffstat (limited to 'theMagicOfAutocomplete.go')
-rw-r--r--theMagicOfAutocomplete.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/theMagicOfAutocomplete.go b/theMagicOfAutocomplete.go
index f67f9ff..db1a95b 100644
--- a/theMagicOfAutocomplete.go
+++ b/theMagicOfAutocomplete.go
@@ -116,7 +116,7 @@ func prepareStdout() {
me.pb.HelpCounter = 0
}
} else {
- me.autoFunc(me.pb) // run the autocomplete function the user made for their application
+ errors.Join(me.Err, me.autoFunc()) // run the autocomplete function the user made for their application
}
fmt.Fprintf(Stderr, "got to the end err(%v)\n", me.Err)
return