Merge pull request #31506 from sebhcp/dir-allcaps

replace [dir] with [DIR] for consistency
This commit is contained in:
Alisdair McDiarmid 2022-08-02 07:13:59 -04:00 committed by GitHub
commit d8c14c4295
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,10 +4,11 @@ import (
"fmt" "fmt"
"path/filepath" "path/filepath"
"github.com/xlab/treeprint"
"github.com/hashicorp/terraform/internal/configs" "github.com/hashicorp/terraform/internal/configs"
"github.com/hashicorp/terraform/internal/getproviders" "github.com/hashicorp/terraform/internal/getproviders"
"github.com/hashicorp/terraform/internal/tfdiags" "github.com/hashicorp/terraform/internal/tfdiags"
"github.com/xlab/treeprint"
) )
// ProvidersCommand is a Command implementation that prints out information // 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 = ` 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 Prints out a tree of modules in the referenced configuration annotated with
their provider requirements. their provider requirements.