Skip to content

Commit

Permalink
TECH Improve readability of version information
Browse files Browse the repository at this point in the history
  • Loading branch information
sibprogrammer committed Oct 7, 2023
1 parent 4dd3ad9 commit ee2aee5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ var versionCmd = &cobra.Command{
Short: locales.L.Get("version.description"),
RunE: func(cmd *cobra.Command, args []string) error {
fmt.Println("Client information")
fmt.Printf("Version:\t%s\nRevision:\t%s\nBuild time:\t%s\n", Version, Commit, BuildTime)
fmt.Printf("Version:\t%s\n", Version)
fmt.Printf("Revision:\t%s\n", Commit)
fmt.Printf("Build time:\t%s\n", BuildTime)

defaultServerName, err := config.DefaultServer()
if err == nil {
Expand Down

0 comments on commit ee2aee5

Please sign in to comment.