diff --git a/cli/root.go b/cli/root.go index c40bd927e2b90..2682e164a48c5 100644 --- a/cli/root.go +++ b/cli/root.go @@ -108,12 +108,13 @@ func AGPL() []*cobra.Command { } func Root(subcommands []*cobra.Command) *cobra.Command { + fmtLong := `Coder %s — A tool for provisioning self-hosted development environments with Terraform. +` cmd := &cobra.Command{ Use: "coder", SilenceErrors: true, SilenceUsage: true, - Long: `Coder — A tool for provisioning self-hosted development environments with Terraform. -`, + Long: fmt.Sprintf(fmtLong, buildinfo.Version()), PersistentPreRun: func(cmd *cobra.Command, args []string) { if cliflag.IsSetBool(cmd, varNoVersionCheck) && cliflag.IsSetBool(cmd, varNoFeatureWarning) {