Skip to content

Commit

Permalink
commands: Fix typos in descriptions (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear authored Oct 13, 2023
1 parent 45f4d58 commit 07dabc1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion commands/firewalls.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Inbound access rules specify the protocol (TCP, UDP, or ICMP), ports, and source

CmdBuilder(cmd, RunFirewallListByDroplet, "list-by-droplet <droplet_id>", "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 <id>...", "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 <id>...", "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 <id>", "Add Droplets to a cloud firewall", `Use this command to add Droplets to the cloud firewall.`, Writer)
Expand Down
2 changes: 1 addition & 1 deletion commands/kubernetes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 <cluster-id|cluster-name> <pool-id|pool-name>",
"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")

Expand Down
2 changes: 1 addition & 1 deletion commands/projects.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 <urn>", "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,
Expand Down

0 comments on commit 07dabc1

Please sign in to comment.