From eb82aebb961eaf73616ed3c1e52f1d9922354978 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Fri, 13 Oct 2023 14:00:36 +0300 Subject: [PATCH] commands: Fix typos in descriptions --- commands/firewalls.go | 2 +- commands/kubernetes.go | 2 +- commands/projects.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/firewalls.go b/commands/firewalls.go index 526e73b39..41d4d08b9 100644 --- a/commands/firewalls.go +++ b/commands/firewalls.go @@ -80,7 +80,7 @@ Inbound access rules specify the protocol (TCP, UDP, or ICMP), ports, and source CmdBuilder(cmd, RunFirewallListByDroplet, "list-by-droplet ", "List firewalls by Droplet", `Use this command to list cloud firewalls by the ID of a Droplet assigned to the firewall.`, Writer, displayerType(&displayers.Firewall{})) - cmdRunRecordDelete := CmdBuilder(cmd, RunFirewallDelete, "delete ...", "Permanently delete a cloud firewall", `Use this command to permanently delete a cloud firewall. This is irreversable, but does not delete any Droplets assigned to the cloud firewall.`, Writer, aliasOpt("d", "rm")) + cmdRunRecordDelete := CmdBuilder(cmd, RunFirewallDelete, "delete ...", "Permanently delete a cloud firewall", `Use this command to permanently delete a cloud firewall. This is irreversible, but does not delete any Droplets assigned to the cloud firewall.`, Writer, aliasOpt("d", "rm")) AddBoolFlag(cmdRunRecordDelete, doctl.ArgForce, doctl.ArgShortForce, false, "Delete firewall without confirmation prompt") cmdAddDroplets := CmdBuilder(cmd, RunFirewallAddDroplets, "add-droplets ", "Add Droplets to a cloud firewall", `Use this command to add Droplets to the cloud firewall.`, Writer) diff --git a/commands/kubernetes.go b/commands/kubernetes.go index e550ee84d..f6cdb31e1 100644 --- a/commands/kubernetes.go +++ b/commands/kubernetes.go @@ -504,7 +504,7 @@ This command creates a new node pool for the specified cluster. At a minimum, yo cmdKubeNodePoolDelete := CmdBuilder(cmd, k8sCmdService.RunKubernetesNodePoolDelete, "delete ", - "Delete a node pool", `This command deletes the specified node pool in the specified cluster, which also removes all the nodes inside that pool. This action is irreversable.`, Writer, aliasOpt("d", "rm")) + "Delete a node pool", `This command deletes the specified node pool in the specified cluster, which also removes all the nodes inside that pool. This action is irreversible.`, Writer, aliasOpt("d", "rm")) AddBoolFlag(cmdKubeNodePoolDelete, doctl.ArgForce, doctl.ArgShortForce, false, "Delete node pool without confirmation prompt") diff --git a/commands/projects.go b/commands/projects.go index a509f824b..db8a6743a 100644 --- a/commands/projects.go +++ b/commands/projects.go @@ -119,7 +119,7 @@ A valid URN has the format: ` + "`" + `do:resource_type:resource_id` + "`" + `. "List all of the resources assigned to the specified project displaying their uniform resource names (\"URNs\").", Writer, aliasOpt("ls"), displayerType(&displayers.ProjectResource{})) CmdBuilder(cmd, RunProjectResourcesGet, "get ", "Retrieve a resource by its URN", - "Retrieve information about a resource by specifying its uniform resource name (\"URN\"). Currently, ony Droplets, floating IPs, load balancers, domains, volumes, and App Platform apps are supported."+urnDesc, + "Retrieve information about a resource by specifying its uniform resource name (\"URN\"). Currently, only Droplets, floating IPs, load balancers, domains, volumes, and App Platform apps are supported."+urnDesc, Writer, aliasOpt("g"), displayerType(&displayers.ProjectResource{})) cmdProjectResourcesAssign := CmdBuilder(cmd, RunProjectResourcesAssign,