mirror of https://github.com/hashicorp/terraform
The most common usage usage will be enabling the `-write` and `-list` options so that files are updated in place and a list of any modified files is printed. This matches the default behaviour of `go fmt` (not `gofmt`). So enable these options by default. This does mean that you will have to explicitly disable these if you want to generate valid patches, e.g. `terraform fmt -diff -write=false -list=false`pull/4955/head
parent
cc41c7cfa0
commit
c753390399
Loading…
Reference in new issue