diff options
| author | Jeff Carr <[email protected]> | 2025-10-02 19:08:52 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-02 19:08:52 -0500 |
| commit | 7033c96283f5314b48768cc946c26aba7c96615d (patch) | |
| tree | 65c803146ae9b89a5f39c9e7c881f8a8b8487d1e /complete.go | |
| parent | 435b9fdee2f51170aacf21f14a0118c89c84e166 (diff) | |
logic was reverse
Diffstat (limited to 'complete.go')
| -rw-r--r-- | complete.go | 2 |
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) |
