From 9d3143381bf854ea56c64e89d7ab670c0c2f50f6 Mon Sep 17 00:00:00 2001 From: Andor Markus <51825189+andormarkus@users.noreply.github.com> Date: Wed, 11 Nov 2020 15:14:54 +0100 Subject: [PATCH] Update delete.html.md (#26874) --- website/docs/commands/workspace/delete.html.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/website/docs/commands/workspace/delete.html.md b/website/docs/commands/workspace/delete.html.md index f489009c13..ababb8d774 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