Skip to content

Commit

Permalink
Add aliases for replaced commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
ndarilek committed Jan 12, 2023
1 parent c2df46d commit 1bf1fd3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/command/machine/destroy.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func newDestroy() *cobra.Command {
command.LoadAppNameIfPresent,
)

cmd.Aliases = []string{"rm"}
cmd.Aliases = []string{"remove", "rm"}

flag.Add(
cmd,
Expand Down
2 changes: 1 addition & 1 deletion internal/command/volumes/destroy.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ number to operate. This can be found through the volumes list command`
command.RequireSession,
)
cmd.Args = cobra.ExactArgs(1)
cmd.Aliases = []string{"rm"}
cmd.Aliases = []string{"delete", "rm"}

flag.Add(cmd,
flag.Yes(),
Expand Down

0 comments on commit 1bf1fd3

Please sign in to comment.