From 6c667b8398b22c6711af128e244cd3221926b705 Mon Sep 17 00:00:00 2001 From: Ethan Frey Date: Fri, 20 Oct 2017 13:05:59 +0200 Subject: [PATCH] Use tendermint version format for basecoin version --- client/commands/version.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/commands/version.go b/client/commands/version.go index 551b2506f3..172185fdfb 100644 --- a/client/commands/version.go +++ b/client/commands/version.go @@ -4,6 +4,7 @@ import ( "fmt" "github.com/spf13/cobra" + "github.com/cosmos/cosmos-sdk/version" ) @@ -15,6 +16,6 @@ var VersionCmd = &cobra.Command{ Use: "version", Short: "Show version info", Run: func(cmd *cobra.Command, args []string) { - fmt.Printf("v%s %s\n", version.Version, CommitHash) + fmt.Printf("%s-%s\n", version.Version, CommitHash) }, }