From ce1745d37a24bf95f70463e558d792419b37de6f Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Sat, 18 Oct 2025 10:42:40 -0500 Subject: notsure. need to redo this still --- parseOsArgs.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'parseOsArgs.go') diff --git a/parseOsArgs.go b/parseOsArgs.go index c91c1e5..4959944 100644 --- a/parseOsArgs.go +++ b/parseOsArgs.go @@ -66,11 +66,9 @@ func parseArgv(argname string) *Argv { // print the version and exit if len(os.Args) > 1 && os.Args[1] == "--version" { - if me.buildtime != nil { - // if binary defined buildtime() then process standard version output here - doVersion(pb) - os.Exit(0) - } + // if binary defined buildtime() then process standard version output here + doVersion(pb) + os.Exit(0) } if os.Args[1] != "--auto-complete" { -- cgit v1.2.3