Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Terraform
Commits
bb37e463
Commit
bb37e463
authored
2 years ago
by
Brian Sidebotham
Committed by
Martin Atkins
2 years ago
Browse files
Options
Download
Email Patches
Plain Diff
backport of commit
a6aa7593
parent
3a2bd286
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
internal/command/fmt.go
+10
-8
internal/command/fmt.go
with
10 additions
and
8 deletions
+10
-8
internal/command/fmt.go
+
10
-
8
View file @
bb37e463
...
@@ -530,14 +530,16 @@ func (c *FmtCommand) Help() string {
...
@@ -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:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help