diff --git a/cmd/reflector.go b/cmd/reflector.go index 8659056..b700cbb 100644 --- a/cmd/reflector.go +++ b/cmd/reflector.go @@ -27,7 +27,7 @@ func init() { } func reflectorCmd(cmd *cobra.Command, args []string) { - log.Printf("reflector version %s", meta.Version) + log.Printf("reflector version %s, built %s", meta.Version, meta.BuildTime.Format(time.RFC3339)) db := new(db.SQL) err := db.Connect(globalConfig.DBConn) if err != nil { diff --git a/cmd/version.go b/cmd/version.go index d3675bb..4254143 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -18,5 +18,5 @@ func init() { } func versionCmd(cmd *cobra.Command, args []string) { - fmt.Printf("version %s (built at %s)\n", meta.Version, meta.BuildTime.Format(time.RFC3339)) + fmt.Printf("version %s (built %s)\n", meta.Version, meta.BuildTime.Format(time.RFC3339)) }