Skip to content

Commit 369bde2

Browse files
committed
Fix version output
Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
1 parent 560e67d commit 369bde2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

cmd/thv/version.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,11 @@ func getVersionInfo() versionInfo {
102102

103103
// printVersionInfo prints the version information
104104
func printVersionInfo(info versionInfo) {
105-
fmt.Printf("ToolHive %s", info.Version)
106-
fmt.Printf("Commit: %s", info.Commit)
107-
fmt.Printf("Built: %s", info.BuildDate)
108-
fmt.Printf("Go version: %s", info.GoVersion)
109-
fmt.Printf("Platform: %s", info.Platform)
105+
fmt.Printf("ToolHive %s\n", info.Version)
106+
fmt.Printf("Commit: %s\n", info.Commit)
107+
fmt.Printf("Built: %s\n", info.BuildDate)
108+
fmt.Printf("Go version: %s\n", info.GoVersion)
109+
fmt.Printf("Platform: %s\n", info.Platform)
110110
}
111111

112112
// printJSONVersionInfo prints the version information as JSON

0 commit comments

Comments
 (0)