From 260c5301e6b11d42863156377f21c5f89fbb9596 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 29 Sep 2014 15:57:35 -0700 Subject: [PATCH] command/apply: update usage --- command/apply.go | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/command/apply.go b/command/apply.go index 2a348f2cd..780becf5c 100644 --- a/command/apply.go +++ b/command/apply.go @@ -250,10 +250,16 @@ func (c *ApplyCommand) Run(args []string) int { func (c *ApplyCommand) Help() string { helpText := ` -Usage: terraform apply [options] [dir] +Usage: terraform apply [options] [DIR] Builds or changes infrastructure according to Terraform configuration - files . + files in DIR. + + DIR can also be a SOURCE as given to the "init" command. In this case, + apply behaves as though "init" was called followed by "apply". This only + works for sources that aren't files, and only if the current working + directory is empty of Terraform files. This is a shortcut for getting + started. Options: