Update website/docs/cli/commands/fmt.mdx

Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
This commit is contained in:
Brian Sidebotham 2022-06-28 19:42:47 +01:00 committed by Martin Atkins
parent 7dd199cbd0
commit 26e770321f

View File

@ -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: