diff --git a/command/version.go b/command/version.go index fd0ac49b9c..4665436e2e 100644 --- a/command/version.go +++ b/command/version.go @@ -16,7 +16,11 @@ func (c *VersionCommand) Help() string { } func (c *VersionCommand) Run(_ []string) int { - c.Ui.Output(c.VersionInfo.FullVersionNumber(true)) + out := c.VersionInfo.FullVersionNumber(true) + if version.CgoEnabled { + out += " (cgo)" + } + c.Ui.Output(out) return 0 }