Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

updating the waypoint destroy help description #3580

Merged
merged 4 commits into from
Jul 18, 2022
Merged
Show file tree
Hide file tree
Changes from 3 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
3 changes: 3 additions & 0 deletions .changelog/3580.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:improvement
cli: Fix incorrect description for `destroy -h` command.
```
6 changes: 3 additions & 3 deletions internal/cli/destroy.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,17 @@ func (c *DestroyCommand) Help() string {
return formatHelp(`
Usage: waypoint destroy [options]

Delete all resources created for an app or project in the current workspace.
Delete all resources created for all apps or projects in the current workspace.
briancain marked this conversation as resolved.
Show resolved Hide resolved

The workspace can continue to be used after this call, this just deletes
all the resources created for this app up to this point.
all the resources created for all apps in the workspace up to this point.

This functionality must be supported by the plugins in use and is dependent
on their behavior. The expected behavior is that any physical resources created
as part of deploys and releases are destroyed. For example, any load balancers,
VMs, containers, etc.

This targets one app in one workspace. You must call this for each workspace
This targets apps in one workspace. You must call this for each workspace
you've used if you want to destroy everything.

` + c.Flags().Help())
Expand Down
6 changes: 3 additions & 3 deletions website/content/commands/destroy.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ Delete all the resources created

Usage: `waypoint destroy [options]`

Delete all resources created for an app or project in the current workspace.
Delete all resources created for all apps or projects in the current workspace.

The workspace can continue to be used after this call, this just deletes
all the resources created for this app up to this point.
all the resources created for all apps in the workspace up to this point.

This functionality must be supported by the plugins in use and is dependent
on their behavior. The expected behavior is that any physical resources created
as part of deploys and releases are destroyed. For example, any load balancers,
VMs, containers, etc.

This targets one app in one workspace. You must call this for each workspace
This targets apps in one workspace. You must call this for each workspace
you've used if you want to destroy everything.

#### Global Options
Expand Down