From e34be686338c8dcee2773bba9fbb02ead73e7222 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Thu, 17 Nov 2016 04:23:50 -0500 Subject: [PATCH 1/2] Added exit command mention --- website/source/docs/commands/console.html.markdown | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/source/docs/commands/console.html.markdown b/website/source/docs/commands/console.html.markdown index 1bc0202d6a..c8b12c0649 100644 --- a/website/source/docs/commands/console.html.markdown +++ b/website/source/docs/commands/console.html.markdown @@ -34,6 +34,9 @@ The command-line flags are all optional. The list of available flags are: * `-state=path` - Path to the state file. Defaults to "terraform.tfstate". A state file doesn't need to exist. +You can close the console with the `exit` command or by using Control-C +or Control-D. + ## Scripting The `terraform console` command can be used in non-interactive scripts From f7e23360bd5af9a251cc4ec2cce411042fd84915 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Thu, 17 Nov 2016 05:33:02 -0500 Subject: [PATCH 2/2] Fixed formatting --- website/source/docs/commands/console.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/source/docs/commands/console.html.markdown b/website/source/docs/commands/console.html.markdown index c8b12c0649..9a70f1757f 100644 --- a/website/source/docs/commands/console.html.markdown +++ b/website/source/docs/commands/console.html.markdown @@ -31,7 +31,7 @@ to function. The command-line flags are all optional. The list of available flags are: -* `-state=path` - Path to the state file. Defaults to "terraform.tfstate". +* `-state=path` - Path to the state file. Defaults to `terraform.tfstate`. A state file doesn't need to exist. You can close the console with the `exit` command or by using Control-C