From 8fbcd65eb1853b8054078d09bf5e10bb3987f8a4 Mon Sep 17 00:00:00 2001 From: Armon Dadgar Date: Sun, 27 Jul 2014 23:40:18 -0400 Subject: [PATCH] website: Document the -backup flag --- website/source/docs/commands/apply.html.markdown | 3 +++ website/source/docs/commands/plan.html.markdown | 3 +++ website/source/docs/commands/refresh.html.markdown | 3 +++ 3 files changed, 9 insertions(+) diff --git a/website/source/docs/commands/apply.html.markdown b/website/source/docs/commands/apply.html.markdown index 909770b18..6338c4697 100644 --- a/website/source/docs/commands/apply.html.markdown +++ b/website/source/docs/commands/apply.html.markdown @@ -21,6 +21,9 @@ execute a pre-determined set of actions. The command-line flags are all optional. The list of available flags are: +* `-backup=path` - Path to the backup file. Defaults to `-state-out` with + the ".backup" extention. Disabled by setting to "-". + * `-no-color` - Disables output with coloring. * `-refresh=true` - Update the state for each resource prior to planning diff --git a/website/source/docs/commands/plan.html.markdown b/website/source/docs/commands/plan.html.markdown index 1435d97c3..165c8b9db 100644 --- a/website/source/docs/commands/plan.html.markdown +++ b/website/source/docs/commands/plan.html.markdown @@ -21,6 +21,9 @@ for the configuration and state file to refresh. The command-line flags are all optional. The list of available flags are: +* `-backup=path` - Path to the backup file. Defaults to `-state-out` with + the ".backup" extention. Disabled by setting to "-". + * `-destroy` - If set, generates a plan to destroy all the known resources. * `-no-color` - Disables output with coloring. diff --git a/website/source/docs/commands/refresh.html.markdown b/website/source/docs/commands/refresh.html.markdown index 06f42f7fd..a6858511c 100644 --- a/website/source/docs/commands/refresh.html.markdown +++ b/website/source/docs/commands/refresh.html.markdown @@ -24,6 +24,9 @@ for the configuration and state file to refresh. The command-line flags are all optional. The list of available flags are: +* `-backup=path` - Path to the backup file. Defaults to `-state-out` with + the ".backup" extention. Disabled by setting to "-". + * `-no-color` - Disables output with coloring * `-state=path` - Path to read and write the state file to. Defaults to "terraform.tfstate".