mirror of
https://github.com/dolthub/dolt.git
synced 2026-03-20 09:11:16 -05:00
dolt/go/cmd/dolt/commands/version.go: Match git version output
Resolves #737
This commit is contained in:
@@ -5,9 +5,10 @@ import (
|
||||
"github.com/liquidata-inc/ld/dolt/go/libraries/doltcore/env"
|
||||
)
|
||||
|
||||
// Version displays the version of the running dolt client
|
||||
func Version(version string) cli.CommandFunc {
|
||||
return func(commandStr string, args []string, dEnv *env.DoltEnv) int {
|
||||
cli.Println("The current dolt version is", version)
|
||||
cli.Println("dolt version", version)
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user