Add missing [options] to help text where applicable (#1855)

Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
Christian Mesh 2024-07-24 09:27:07 -04:00 committed by GitHub
parent 3b3822d770
commit eb69100dbd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View File

@ -136,7 +136,7 @@ func (c *ProvidersSchemaCommand) Run(args []string) int {
}
const providersSchemaCommandHelp = `
Usage: tofu [global options] providers schema -json
Usage: tofu [global options] providers schema [options] -json
Prints out a json representation of the schemas for all providers used
in the current configuration.

View File

@ -133,7 +133,7 @@ func (c *UnlockCommand) Run(args []string) int {
func (c *UnlockCommand) Help() string {
helpText := `
Usage: tofu [global options] force-unlock LOCK_ID
Usage: tofu [global options] force-unlock [options] LOCK_ID
Manually unlock the state for the defined configuration.

View File

@ -218,7 +218,7 @@ func (c *WorkspaceDeleteCommand) AutocompleteFlags() complete.Flags {
func (c *WorkspaceDeleteCommand) Help() string {
helpText := `
Usage: tofu [global options] workspace delete [OPTIONS] NAME
Usage: tofu [global options] workspace delete [options] NAME
Delete a OpenTofu workspace

View File

@ -105,7 +105,7 @@ func (c *WorkspaceListCommand) AutocompleteFlags() complete.Flags {
func (c *WorkspaceListCommand) Help() string {
helpText := `
Usage: tofu [global options] workspace list
Usage: tofu [global options] workspace list [options]
List OpenTofu workspaces.

View File

@ -156,7 +156,7 @@ func (c *WorkspaceSelectCommand) AutocompleteFlags() complete.Flags {
func (c *WorkspaceSelectCommand) Help() string {
helpText := `
Usage: tofu [global options] workspace select NAME
Usage: tofu [global options] workspace select [options] NAME
Select a different OpenTofu workspace.