diff --git a/website/docs/cli/commands/fmt.mdx b/website/docs/cli/commands/fmt.mdx index 4279eb182f..99ae10754d 100644 --- a/website/docs/cli/commands/fmt.mdx +++ b/website/docs/cli/commands/fmt.mdx @@ -48,10 +48,7 @@ and the generated files. Usage: `terraform fmt [options] [TARGET]` By default, `fmt` scans the current directory for configuration files. If -a directory is provided for the `target` argument then it will scan that -given directory instead. If `target` is a file then `fmt` will process just -that file, and if a single dash (`-`) then `fmt` will read from standard input -(STDIN). +you provide a directory for the `target` argument, then `fmt` will scan that directory instead. If you provide a file, then `fmt` will process just that file. If you provide a single dash (`-`), then `fmt` will read from standard input (STDIN). The command-line flags are all optional. The list of available flags are: