From c0b581eb866ca37faa1005523fe3501c171868fc Mon Sep 17 00:00:00 2001 From: Johannes Brunswicker Date: Thu, 11 Apr 2024 14:05:46 +0200 Subject: [PATCH] Update main.go Co-authored-by: George L. Yermulnik --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 35070913..0ad68e5c 100644 --- a/main.go +++ b/main.go @@ -90,9 +90,9 @@ func main() { case *versionFlag: //if *versionFlag { if version != nil { - logger.Infof("Version: %s", version) + fmt.Printf("Version: %s\n", version) } else { - logger.Error("Version not set correctly.") + fmt.Println("Version not defined during build.") } case *helpFlag: //} else if *helpFlag {