mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Add option "-json" in help text of apply command and plan command. (#2340)
Signed-off-by: Guozhang Wu <30565051+zcxsythenew@users.noreply.github.com>
This commit is contained in:
parent
8139ae6005
commit
ec20752054
@ -392,6 +392,10 @@ Options:
|
||||
|
||||
-show-sensitive If specified, sensitive values will be displayed.
|
||||
|
||||
-json Produce output in a machine-readable JSON format,
|
||||
suitable for use in text editor integrations and
|
||||
other automated systems. Always disables color.
|
||||
|
||||
If you don't provide a saved plan file then this command will also accept
|
||||
all of the plan-customization options accepted by the tofu plan command.
|
||||
For more information on those options, run:
|
||||
|
@ -310,6 +310,10 @@ Other Options:
|
||||
information.
|
||||
|
||||
-show-sensitive If specified, sensitive values will be displayed.
|
||||
|
||||
-json Produce output in a machine-readable JSON format,
|
||||
suitable for use in text editor integrations and
|
||||
other automated systems. Always disables color.
|
||||
`
|
||||
return strings.TrimSpace(helpText)
|
||||
}
|
||||
|
@ -236,6 +236,10 @@ Options:
|
||||
a file. If "terraform.tfvars" or any ".auto.tfvars"
|
||||
files are present, they will be automatically loaded.
|
||||
|
||||
-json Produce output in a machine-readable JSON format,
|
||||
suitable for use in text editor integrations and
|
||||
other automated systems. Always disables color.
|
||||
|
||||
-state, state-out, and -backup are legacy options supported for the local
|
||||
backend only. For more information, see the local backend's documentation.
|
||||
`
|
||||
|
Loading…
Reference in New Issue
Block a user