From 0df2d46ca7679123d793f91a8403c2ed526d5b68 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Sun, 24 Mar 2019 15:11:01 -0400 Subject: [PATCH] lib: Add static hello message --- lib/hello.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/hello.go b/lib/hello.go index 764ec467..9355dd23 100644 --- a/lib/hello.go +++ b/lib/hello.go @@ -18,6 +18,7 @@ package lib import ( + "fmt" "log" "os" "time" @@ -46,6 +47,8 @@ func hello(program, version string, flags Flags) { if program == "" { program = "" } - log.Printf("this is: %s, version: %s", program, version) + fmt.Println(fmt.Sprintf("This is: %s, version: %s", program, version)) + fmt.Println("Copyright (C) 2013-2019+ James Shubin and the project contributors") + fmt.Println("Written by James Shubin and the project contributors") log.Printf("main: start: %v", start) }