summaryrefslogtreecommitdiff
path: root/theMagicOfAutocomplete.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-26 09:35:01 -0500
committerJeff Carr <[email protected]>2025-10-26 09:35:01 -0500
commit161347d22985c808c912c141ce8f55602f1dc731 (patch)
treeb213d9a1c61c589f2cba02e9785efc8f9daef4eb /theMagicOfAutocomplete.go
parent5ff98fee1dd4731c97b54f039ddcf26d15d68193 (diff)
tighten the belts
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