Skip to content

Commit

Permalink
Update internal/command/fmt.go
Browse files Browse the repository at this point in the history
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
  • Loading branch information
2 people authored and apparentlymart committed Jul 8, 2022
1 parent 26e7703 commit a6aa759
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions internal/command/fmt.go
Expand Up @@ -530,14 +530,16 @@ func (c *FmtCommand) Help() string {
helpText := `
Usage: terraform [global options] fmt [options] [TARGET]
Rewrites all Terraform configuration files to a canonical format. Both
configuration files (.tf) and variables files (.tfvars) are updated.
JSON files (.tf.json or .tfvars.json) are not modified.
If TARGET is not specified then the current working directory will be
used. If TARGET is a file, only that file will be used. If TARGET is
"-" then content will be read from STDIN. The given content must be in
the Terraform language native syntax; JSON is not supported.
Rewrites all Terraform configuration files to a canonical format. Both
configuration files (.tf) and variables files (.tfvars) are updated.
JSON files (.tf.json or .tfvars.json) are not modified.
If TARGET is not specified, the command uses the current working directory.
If TARGET is a file, the command only uses the specified file. If TARGET
is "-" then the command reads from STDIN.
The content must be in the Terraform language native syntax; JSON is not
supported.
Options:
Expand Down

0 comments on commit a6aa759

Please sign in to comment.