We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 560e67d commit 369bde2Copy full SHA for 369bde2
cmd/thv/version.go
@@ -102,11 +102,11 @@ func getVersionInfo() versionInfo {
102
103
// printVersionInfo prints the version information
104
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)
+ fmt.Printf("ToolHive %s\n", info.Version)
+ fmt.Printf("Commit: %s\n", info.Commit)
+ fmt.Printf("Built: %s\n", info.BuildDate)
+ fmt.Printf("Go version: %s\n", info.GoVersion)
+ fmt.Printf("Platform: %s\n", info.Platform)
110
}
111
112
// printJSONVersionInfo prints the version information as JSON
0 commit comments