diff --git a/cmd/scw/testdata/test-all-usage-tem-email-create-usage.golden b/cmd/scw/testdata/test-all-usage-tem-email-create-usage.golden index a2bbd9bda8..68d5f21275 100644 --- a/cmd/scw/testdata/test-all-usage-tem-email-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-tem-email-create-usage.golden @@ -1,6 +1,6 @@ 🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲 πŸŸ₯πŸŸ₯πŸŸ₯ STDERR️️ πŸŸ₯πŸŸ₯πŸŸ₯️ -You must specify the `region`, the sender and the recipient's information and the `project_id` to send an email from a checked domain. The subject of the email must contain at least 6 characters. +You must specify the `region`, the sender and the recipient's information and the `project_id` to send an email from a checked domain. USAGE: scw tem email create [arg=value ...] diff --git a/docs/commands/tem.md b/docs/commands/tem.md index db4acc9375..3f6e865a0d 100644 --- a/docs/commands/tem.md +++ b/docs/commands/tem.md @@ -286,7 +286,7 @@ scw tem email cancel [arg=value ...] ### Send an email -You must specify the `region`, the sender and the recipient's information and the `project_id` to send an email from a checked domain. The subject of the email must contain at least 6 characters. +You must specify the `region`, the sender and the recipient's information and the `project_id` to send an email from a checked domain. **Usage:** diff --git a/internal/namespaces/tem/v1alpha1/tem_cli.go b/internal/namespaces/tem/v1alpha1/tem_cli.go index a28129e4e3..cc73880391 100644 --- a/internal/namespaces/tem/v1alpha1/tem_cli.go +++ b/internal/namespaces/tem/v1alpha1/tem_cli.go @@ -128,7 +128,7 @@ func temProjectConsumption() *core.Command { func temEmailCreate() *core.Command { return &core.Command{ Short: `Send an email`, - Long: `You must specify the ` + "`" + `region` + "`" + `, the sender and the recipient's information and the ` + "`" + `project_id` + "`" + ` to send an email from a checked domain. The subject of the email must contain at least 6 characters.`, + Long: `You must specify the ` + "`" + `region` + "`" + `, the sender and the recipient's information and the ` + "`" + `project_id` + "`" + ` to send an email from a checked domain.`, Namespace: "tem", Resource: "email", Verb: "create",