mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Update internal/command/fmt.go
Co-authored-by: Laura Pacilio <83350965+laurapacilio@users.noreply.github.com>
This commit is contained in:
parent
26e770321f
commit
a6aa75931b
@ -530,14 +530,16 @@ func (c *FmtCommand) Help() string {
|
|||||||
helpText := `
|
helpText := `
|
||||||
Usage: terraform [global options] fmt [options] [TARGET]
|
Usage: terraform [global options] fmt [options] [TARGET]
|
||||||
|
|
||||||
Rewrites all Terraform configuration files to a canonical format. Both
|
Rewrites all Terraform configuration files to a canonical format. Both
|
||||||
configuration files (.tf) and variables files (.tfvars) are updated.
|
configuration files (.tf) and variables files (.tfvars) are updated.
|
||||||
JSON files (.tf.json or .tfvars.json) are not modified.
|
JSON files (.tf.json or .tfvars.json) are not modified.
|
||||||
|
|
||||||
If TARGET is not specified then the current working directory will be
|
If TARGET is not specified, the command uses the current working directory.
|
||||||
used. If TARGET is a file, only that file will be used. If TARGET is
|
If TARGET is a file, the command only uses the specified file. If TARGET
|
||||||
"-" then content will be read from STDIN. The given content must be in
|
is "-" then the command reads from STDIN.
|
||||||
the Terraform language native syntax; JSON is not supported.
|
|
||||||
|
The content must be in the Terraform language native syntax; JSON is not
|
||||||
|
supported.
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user