Use tendermint version format for basecoin version

This commit is contained in:
Ethan Frey
2017-10-20 13:05:59 +02:00
parent 82714e7ccc
commit 6c667b8398
+2 -1
View File
@@ -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)
},
}