File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ stackit dns zone clone [flags]
16
16
Clones a DNS zone with ID "xxx" to a new zone with DNS name "www.my-zone.com"
17
17
$ stackit dns zone clone xxx --dns-name www.my-zone.com
18
18
19
- Clones a DNS zone with ID "xxx" to a new zone with DNS name "www.my-zone.com" and adjust records "true"
20
- $ stackit dns zone clone xxx --dns-name www.my-zone.com --adjust-records
21
-
22
19
Clones a DNS zone with ID "xxx" to a new zone with DNS name "www.my-zone.com" and display name "new-zone"
23
20
$ stackit dns zone clone xxx --dns-name www.my-zone.com --name new-zone
21
+
22
+ Clones a DNS zone with ID "xxx" to a new zone with DNS name "www.my-zone.com" and adjust records "true"
23
+ $ stackit dns zone clone xxx --dns-name www.my-zone.com --adjust-records
24
24
```
25
25
26
26
### Options
Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ func NewCmd(p *print.Printer) *cobra.Command {
76
76
}
77
77
78
78
if ! model .AssumeYes {
79
- prompt := fmt .Sprintf ("Are you sure you want to clone the zone %s ?" , zoneLabel )
79
+ prompt := fmt .Sprintf ("Are you sure you want to clone the zone %q ?" , zoneLabel )
80
80
err = p .PromptForConfirmation (prompt )
81
81
if err != nil {
82
82
return err
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ func NewCmd(p *print.Printer) *cobra.Command {
58
58
zoneLabel = model .ZoneId
59
59
}
60
60
if ! model .AssumeYes {
61
- prompt := fmt .Sprintf ("Are you sure you want to delete zone %s ? (This cannot be undone)" , zoneLabel )
61
+ prompt := fmt .Sprintf ("Are you sure you want to delete zone %q ? (This cannot be undone)" , zoneLabel )
62
62
err = p .PromptForConfirmation (prompt )
63
63
if err != nil {
64
64
return err
You can’t perform that action at this time.
0 commit comments