Skip to content

Commit 1125e52

Browse files
authored
docs(domain): update description for dns zone update (#5475)
1 parent 51bb86c commit 1125e52

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

cmd/scw/testdata/test-all-usage-dns-zone-create-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ USAGE:
66
scw dns zone create [arg=value ...]
77

88
ARGS:
9-
domain Domain in which to crreate the DNS zone
9+
domain Domain in which to create the DNS zone
1010
subdomain Subdomain of the DNS zone to create
1111
[project-id] Project ID to use. If none is passed the default project ID will be used
1212

cmd/scw/testdata/test-all-usage-dns-zone-update-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ USAGE:
66
scw dns zone update [arg=value ...]
77

88
ARGS:
9-
dns-zone DNS zone to update
9+
dns-zone The full name of the DNS zone to modify. For a root zone (e.g., example.com), enter `example.com`. For a specific sub-zone (e.g., prod.example.com), enter `prod.example.com`.
1010
new-dns-zone Name of the new DNS zone to create
1111
[project-id] Project ID to use. If none is passed the default project ID will be used
1212

docs/commands/dns.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ scw dns zone create [arg=value ...]
602602

603603
| Name | | Description |
604604
|------|---|-------------|
605-
| domain | Required | Domain in which to crreate the DNS zone |
605+
| domain | Required | Domain in which to create the DNS zone |
606606
| subdomain | Required | Subdomain of the DNS zone to create |
607607
| project-id | | Project ID to use. If none is passed the default project ID will be used |
608608

@@ -740,7 +740,7 @@ scw dns zone update [arg=value ...]
740740

741741
| Name | | Description |
742742
|------|---|-------------|
743-
| dns-zone | Required | DNS zone to update |
743+
| dns-zone | Required | The full name of the DNS zone to modify. For a root zone (e.g., example.com), enter `example.com`. For a specific sub-zone (e.g., prod.example.com), enter `prod.example.com`. |
744744
| new-dns-zone | Required | Name of the new DNS zone to create |
745745
| project-id | | Project ID to use. If none is passed the default project ID will be used |
746746

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ require (
2525
github.com/moby/buildkit v0.29.0
2626
github.com/moby/go-archive v0.2.0
2727
github.com/opencontainers/go-digest v1.0.0
28-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260407155337-c7324437042d
28+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260410075832-1d11daa52f3a
2929
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
3030
github.com/spf13/cobra v1.10.2
3131
github.com/spf13/pflag v1.0.10

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,8 +476,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7
476476
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
477477
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
478478
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
479-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260407155337-c7324437042d h1:9sT/BfLItlKOO2JpfrIjjV4I9+f1byWEBPob9CFYNDQ=
480-
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260407155337-c7324437042d/go.mod h1:SKcIU6lqwljcpjOlTnSfMFfURd/XT+08spQyqN9OTWA=
479+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260410075832-1d11daa52f3a h1:QgieCW5f7sJFVpjSo3yvEUIh+kF7wHyDrtkoONBttKA=
480+
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260410075832-1d11daa52f3a/go.mod h1:jG9ApeokegM68b/6vebk8fAhBJbqZKUoor/+f19+bH0=
481481
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
482482
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
483483
github.com/secure-systems-lab/go-securesystemslib v0.10.0 h1:l+H5ErcW0PAehBNrBxoGv1jjNpGYdZ9RcheFkB2WI14=

internal/namespaces/domain/v2beta1/domain_cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ func dnsZoneCreate() *core.Command {
364364
ArgSpecs: core.ArgSpecs{
365365
{
366366
Name: "domain",
367-
Short: `Domain in which to crreate the DNS zone`,
367+
Short: `Domain in which to create the DNS zone`,
368368
Required: true,
369369
Deprecated: false,
370370
Positional: false,
@@ -401,7 +401,7 @@ func dnsZoneUpdate() *core.Command {
401401
ArgSpecs: core.ArgSpecs{
402402
{
403403
Name: "dns-zone",
404-
Short: `DNS zone to update`,
404+
Short: `The full name of the DNS zone to modify. For a root zone (e.g., example.com), enter ` + "`" + `example.com` + "`" + `. For a specific sub-zone (e.g., prod.example.com), enter ` + "`" + `prod.example.com` + "`" + `.`,
405405
Required: true,
406406
Deprecated: false,
407407
Positional: false,

0 commit comments

Comments
 (0)