diff --git a/pkg/cli/cmds/root.go b/pkg/cli/cmds/root.go index 423b8dce65..f517971651 100644 --- a/pkg/cli/cmds/root.go +++ b/pkg/cli/cmds/root.go @@ -3,6 +3,7 @@ package cmds import ( "fmt" "os" + "runtime" "github.com/rancher/k3s/pkg/version" "github.com/sirupsen/logrus" @@ -33,6 +34,7 @@ func NewApp() *cli.App { app.Version = fmt.Sprintf("%s (%s)", version.Version, version.GitCommit) cli.VersionPrinter = func(c *cli.Context) { fmt.Printf("%s version %s\n", app.Name, app.Version) + fmt.Printf("go version %s\n", runtime.Version()) } app.Flags = []cli.Flag{ DebugFlag,