Merge pull request #18583 from hashicorp/b-main-help-consistency
help: Make version and help flags consistent
This commit is contained in:
commit
4e826cc4f5
2
help.go
2
help.go
|
@ -32,7 +32,7 @@ func helpFunc(commands map[string]cli.CommandFactory) string {
|
||||||
// website/source/docs/commands/index.html.markdown; if you
|
// website/source/docs/commands/index.html.markdown; if you
|
||||||
// change this then consider updating that to match.
|
// change this then consider updating that to match.
|
||||||
helpText := fmt.Sprintf(`
|
helpText := fmt.Sprintf(`
|
||||||
Usage: terraform [--version] [--help] <command> [args]
|
Usage: terraform [-version] [-help] <command> [args]
|
||||||
|
|
||||||
The available commands for execution are listed below.
|
The available commands for execution are listed below.
|
||||||
The most common, useful commands are shown first, followed by
|
The most common, useful commands are shown first, followed by
|
||||||
|
|
Loading…
Reference in New Issue