diff options
| author | Jeff Carr <[email protected]> | 2025-10-16 13:58:28 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-17 01:45:59 -0500 |
| commit | 411226cf9df0814ff8e714958da87c853b519bc6 (patch) | |
| tree | eea63f72a2614a0cec3c844edbf7cf162e4257e2 /version.go | |
| parent | 28839452b290b83d409193044c5737a92cc1ec3e (diff) | |
A new life awaits you in the Off-world colonies!v0.0.39
Diffstat (limited to 'version.go')
| -rw-r--r-- | version.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,4 +1,4 @@ -package prep +package argvpb // initializes logging and command line options @@ -10,16 +10,16 @@ import ( "go.wit.com/log" ) -func (pb *Auto) Version() string { +func (pb *Argv) Version() string { return pb.getVersion() } -func doVersion(pb *Auto) { +func doVersion(pb *Argv) { log.Info(pb.getVersion()) os.Exit(0) } -func (pb *Auto) getVersion() string { +func (pb *Argv) getVersion() string { if me.buildtime == nil { return "app doesn't have argv.BuildVersion()" } |
