diff options
| author | Jeff Carr <[email protected]> | 2025-10-02 20:14:20 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-02 20:14:20 -0500 |
| commit | 8c9a331c9b833e14fcbd381b8065d488d0d9fbf5 (patch) | |
| tree | a35d576fd37f7f85e19fc2c83804b6418899df50 | |
| parent | 7033c96283f5314b48768cc946c26aba7c96615d (diff) | |
minor fmt change
| -rw-r--r-- | complete.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/complete.go b/complete.go index b24827d..0a28981 100644 --- a/complete.go +++ b/complete.go @@ -432,7 +432,10 @@ func doVersion(pb *Auto) { // now := time.Now() // dur := time.Since(localTime) - BUILDTIME = fmt.Sprintf("%s age(%v)", localTime.String(), shell.FormatDuration(time.Since(localTime))) + // BUILDTIME = fmt.Sprintf("%s age(%v)", localTime.String(), , shell.FormatDuration(time.Since(localTime))) + stamp := log.Sprintf("Built %s Age(%s)\n", localTime.Format("2006-01-02 15:04"), shell.FormatDuration(time.Since(localTime))) + log.Infof("%s %s %s\n", pb.Argname, VERSION, stamp) + os.Exit(0) } } |
