Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/stackit_dns_zone_clone.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ stackit dns zone clone [flags]
Clones a DNS zone with ID "xxx" to a new zone with DNS name "www.my-zone.com"
$ stackit dns zone clone xxx --dns-name www.my-zone.com

Clones a DNS zone with ID "xxx" to a new zone with DNS name "www.my-zone.com" and adjust records "true"
$ stackit dns zone clone xxx --dns-name www.my-zone.com --adjust-records

Clones a DNS zone with ID "xxx" to a new zone with DNS name "www.my-zone.com" and display name "new-zone"
$ stackit dns zone clone xxx --dns-name www.my-zone.com --name new-zone

Clones a DNS zone with ID "xxx" to a new zone with DNS name "www.my-zone.com" and adjust records "true"
$ stackit dns zone clone xxx --dns-name www.my-zone.com --adjust-records
```

### Options
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/dns/zone/clone/clone.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func NewCmd(p *print.Printer) *cobra.Command {
}

if !model.AssumeYes {
prompt := fmt.Sprintf("Are you sure you want to clone the zone %s?", zoneLabel)
prompt := fmt.Sprintf("Are you sure you want to clone the zone %q?", zoneLabel)
err = p.PromptForConfirmation(prompt)
if err != nil {
return err
Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/dns/zone/delete/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func NewCmd(p *print.Printer) *cobra.Command {
zoneLabel = model.ZoneId
}
if !model.AssumeYes {
prompt := fmt.Sprintf("Are you sure you want to delete zone %s? (This cannot be undone)", zoneLabel)
prompt := fmt.Sprintf("Are you sure you want to delete zone %q? (This cannot be undone)", zoneLabel)
err = p.PromptForConfirmation(prompt)
if err != nil {
return err
Expand Down