summaryrefslogtreecommitdiff
path: root/parseOsArgs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-18 10:42:40 -0500
committerJeff Carr <[email protected]>2025-10-18 10:42:40 -0500
commitce1745d37a24bf95f70463e558d792419b37de6f (patch)
tree4df955dc87ca8a920075ae797c37bd8a47195117 /parseOsArgs.go
parent748ac1d8c6bb87c2c8e7c9e2db2608ee1a0a9979 (diff)
notsure. need to redo this still
Diffstat (limited to 'parseOsArgs.go')
-rw-r--r--parseOsArgs.go8
1 files changed, 3 insertions, 5 deletions
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" {