diff --git a/website/docs/commands/workspace/delete.html.md b/website/docs/commands/workspace/delete.html.md index f489009c1..ababb8d77 100644 --- a/website/docs/commands/workspace/delete.html.md +++ b/website/docs/commands/workspace/delete.html.md @@ -12,7 +12,7 @@ The `terraform workspace delete` command is used to delete an existing workspace ## Usage -Usage: `terraform workspace delete [NAME]` +Usage: `terraform workspace delete [OPTIONS] NAME [DIR]` This command will delete the specified workspace. @@ -30,6 +30,8 @@ from getting into this situation. The command-line flags are all optional. The only supported flag is: * `-force` - Delete the workspace even if its state is not empty. Defaults to false. +* `-lock` - Lock the state file when locking is supported. Defaults to true. +* `-lock-timeout` - Duration to retry a state lock. Default 0s. ## Example