diff --git a/internal/command/get.go b/internal/command/get.go index 802af94db1..fc19997a70 100644 --- a/internal/command/get.go +++ b/internal/command/get.go @@ -47,10 +47,10 @@ func (c *GetCommand) Run(args []string) int { func (c *GetCommand) Help() string { helpText := ` -Usage: terraform [global options] get [options] PATH +Usage: terraform [global options] get [options] - Downloads and installs modules needed for the configuration given by - PATH. + Downloads and installs modules needed for the configuration in the + current working directory. This recursively downloads all modules needed, such as modules imported by modules imported by the root and so on. If a module is diff --git a/website/docs/cli/commands/get.mdx b/website/docs/cli/commands/get.mdx index a12dd87d12..f46b8776b9 100644 --- a/website/docs/cli/commands/get.mdx +++ b/website/docs/cli/commands/get.mdx @@ -10,7 +10,7 @@ The `terraform get` command is used to download and update ## Usage -Usage: `terraform get [options] PATH` +Usage: `terraform get [options]` The modules are downloaded into a `.terraform` subdirectory of the current working directory. Don't commit this directory to your version control