This commit is contained in:
Quentin McGaw
2020-08-29 19:14:52 +00:00
parent 049bc5b226
commit aac5274eab
8 changed files with 25 additions and 42 deletions

View File

@@ -10,10 +10,10 @@ import (
)
// Splash returns the welcome spash message
func Splash(version, vcsRef, buildDate string) string {
func Splash(version, commit, buildDate string) string {
lines := title()
lines = append(lines, "")
lines = append(lines, fmt.Sprintf("Running version %s built on %s (commit %s)", version, buildDate, vcsRef))
lines = append(lines, fmt.Sprintf("Running version %s built on %s (commit %s)", version, buildDate, commit))
lines = append(lines, "")
lines = append(lines, announcement()...)
lines = append(lines, "")