diff --git a/CHANGELOG.md b/CHANGELOG.md index 0af3cb2144..bbf690818e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -28,7 +28,7 @@ BUG FIXES: * Fix Global Schema Cache not working in provider acceptance tests ([#1054](https://github.com/opentofu/opentofu/pull/1054)) * Fix `tofu show` and `tofu state show` not working with state files referencing Terraform registry providers in some instances ([#1141](https://github.com/opentofu/opentofu/pull/1141)) * Improved stability on 32-bit architectures ([#1154](https://github.com/opentofu/opentofu/pull/1154)) -* Added aliases for `state list`, `state mv`, and `state rm` ([#1220](https://github.com/opentofu/opentofu/pull/1220)) +* Added aliases for `state list` (`state ls`), `state mv` (`state move`), and `state rm` (`state remove`) ([#1220](https://github.com/opentofu/opentofu/pull/1220)) ## Previous Releases diff --git a/internal/command/state_mv.go b/internal/command/state_mv.go index cf8521f3ee..b6c83de0e7 100644 --- a/internal/command/state_mv.go +++ b/internal/command/state_mv.go @@ -521,7 +521,7 @@ func (c *StateMvCommand) validateResourceMove(addrFrom, addrTo addrs.AbsResource func (c *StateMvCommand) Help() string { helpText := ` -Usage: tofu [global options] state (mv|move) [options] SOURCE DESTINATION +Usage: tofu [global options] state (move|mv) [options] SOURCE DESTINATION This command will move an item matched by the address given to the destination address. This command can also move to a destination address diff --git a/internal/command/state_rm.go b/internal/command/state_rm.go index bf03afeea6..10584792e7 100644 --- a/internal/command/state_rm.go +++ b/internal/command/state_rm.go @@ -161,7 +161,7 @@ func (c *StateRmCommand) Run(args []string) int { func (c *StateRmCommand) Help() string { helpText := ` -Usage: tofu [global options] state (rm|remove) [options] ADDRESS... +Usage: tofu [global options] state (remove|rm) [options] ADDRESS... Remove one or more items from the OpenTofu state, causing OpenTofu to "forget" those items without first destroying them in the remote system.