From a85262c98c94ad16ab831cc10aa3355f0e8b227a Mon Sep 17 00:00:00 2001 From: Andrew Starr-Bochicchio Date: Wed, 23 Oct 2024 10:50:14 -0400 Subject: [PATCH] droplets: update help text to accurately describe default backup plan. --- commands/droplet_actions.go | 2 +- commands/droplets.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/droplet_actions.go b/commands/droplet_actions.go index 45c34722e..af9077f42 100644 --- a/commands/droplet_actions.go +++ b/commands/droplet_actions.go @@ -70,7 +70,7 @@ You can use Droplet actions to perform tasks on a Droplet, such as rebooting, re cmdDropletActionGet.Example = `The following example retrieves information about an action, with the ID ` + "`" + `1978716488` + "`" + `, performed on a Droplet with the ID ` + "`" + `386734086` + "`" + `: doctl compute droplet-action get 1978716488 --action-id 386734086` cmdDropletActionEnableBackups := CmdBuilder(cmd, RunDropletActionEnableBackups, - "enable-backups ", "Enable backups on a Droplet", `Enables backups on a Droplet. This automatically creates and stores a disk image of the Droplet at weekly intervals.`, Writer, + "enable-backups ", "Enable backups on a Droplet", `Enables backups on a Droplet. This automatically creates and stores a disk image of the Droplet. By default, backups happen daily.`, Writer, displayerType(&displayers.Action{})) AddBoolFlag(cmdDropletActionEnableBackups, doctl.ArgCommandWait, "", false, "Wait for action to complete") cmdDropletActionEnableBackups.Example = `The following example enables backups on a Droplet with the ID ` + "`" + `386734086` + "`" + `: doctl compute droplet-action enable-backups 386734086` diff --git a/commands/droplets.go b/commands/droplets.go index b22866b3a..12a93b305 100644 --- a/commands/droplets.go +++ b/commands/droplets.go @@ -80,7 +80,7 @@ If you do not specify a region, the Droplet is created in the default region for AddStringFlag(cmdDropletCreate, doctl.ArgRegionSlug, "", "", "A `slug` specifying the region to create the Droplet in, such as `nyc1`. Use the `doctl compute region list` command for a list of valid regions.") AddStringFlag(cmdDropletCreate, doctl.ArgSizeSlug, "", "", "A `slug` indicating the Droplet's number of vCPUs, RAM, and disk size. For example, `s-1vcpu-1gb` specifies a Droplet with one vCPU and 1 GiB of RAM. The disk size is defined by the slug's plan. Run `doctl compute size list` for a list of valid size slugs and their disk sizes.", requiredOpt()) - AddBoolFlag(cmdDropletCreate, doctl.ArgBackups, "", false, "Enables backups for the Droplet. Backups are created on a weekly basis.") + AddBoolFlag(cmdDropletCreate, doctl.ArgBackups, "", false, "Enables backups for the Droplet. By default, backups are created on a daily basis.") AddBoolFlag(cmdDropletCreate, doctl.ArgIPv6, "", false, "Enables IPv6 support and assigns an IPv6 address to the Droplet") AddBoolFlag(cmdDropletCreate, doctl.ArgPrivateNetworking, "", false, "Enables private networking for the Droplet by provisioning it inside of your account's default VPC for the region") AddBoolFlag(cmdDropletCreate, doctl.ArgMonitoring, "", false, "Installs the DigitalOcean agent for additional monitoring")