diff --git a/internal/command/providers.go b/internal/command/providers.go index 5bc0d4e6c3..c55a91774a 100644 --- a/internal/command/providers.go +++ b/internal/command/providers.go @@ -4,10 +4,11 @@ import ( "fmt" "path/filepath" + "github.com/xlab/treeprint" + "github.com/hashicorp/terraform/internal/configs" "github.com/hashicorp/terraform/internal/getproviders" "github.com/hashicorp/terraform/internal/tfdiags" - "github.com/xlab/treeprint" ) // ProvidersCommand is a Command implementation that prints out information @@ -149,7 +150,7 @@ func (c *ProvidersCommand) populateTreeNode(tree treeprint.Tree, node *configs.M } const providersCommandHelp = ` -Usage: terraform [global options] providers [dir] +Usage: terraform [global options] providers [DIR] Prints out a tree of modules in the referenced configuration annotated with their provider requirements.