summaryrefslogtreecommitdiff
path: root/complete.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-02 19:08:52 -0500
committerJeff Carr <[email protected]>2025-10-02 19:08:52 -0500
commit7033c96283f5314b48768cc946c26aba7c96615d (patch)
tree65c803146ae9b89a5f39c9e7c881f8a8b8487d1e /complete.go
parent435b9fdee2f51170aacf21f14a0118c89c84e166 (diff)
logic was reverse
Diffstat (limited to 'complete.go')
-rw-r--r--complete.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/complete.go b/complete.go
index 03440b2..b24827d 100644
--- a/complete.go
+++ b/complete.go
@@ -223,7 +223,7 @@ func parseArgv(argname string) *Auto {
}
if len(os.Args) > 1 && os.Args[1] == "--version" {
- if myAuto.buildtime == nil {
+ if myAuto.buildtime != nil {
// if binary defined buildtime() then process standard version output here
doVersion(pb)
os.Exit(0)