We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e06cf1 commit 0783ca3Copy full SHA for 0783ca3
cli/root.go
@@ -108,12 +108,13 @@ func AGPL() []*cobra.Command {
108
}
109
110
func Root(subcommands []*cobra.Command) *cobra.Command {
111
+ fmtLong := `Coder %s — A tool for provisioning self-hosted development environments with Terraform.
112
+`
113
cmd := &cobra.Command{
114
Use: "coder",
115
SilenceErrors: true,
116
SilenceUsage: true,
- Long: `Coder — A tool for provisioning self-hosted development environments with Terraform.
-`,
117
+ Long: fmt.Sprintf(fmtLong, buildinfo.Version()),
118
PersistentPreRun: func(cmd *cobra.Command, args []string) {
119
if cliflag.IsSetBool(cmd, varNoVersionCheck) &&
120
cliflag.IsSetBool(cmd, varNoFeatureWarning) {
0 commit comments