diff --git a/internal/command/providers_schema.go b/internal/command/providers_schema.go index 88d8fbabba..88dcad9067 100644 --- a/internal/command/providers_schema.go +++ b/internal/command/providers_schema.go @@ -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. diff --git a/internal/command/unlock.go b/internal/command/unlock.go index 6dfa3285ae..7a031aebb1 100644 --- a/internal/command/unlock.go +++ b/internal/command/unlock.go @@ -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. diff --git a/internal/command/workspace_delete.go b/internal/command/workspace_delete.go index 343589969a..1f3cd76b60 100644 --- a/internal/command/workspace_delete.go +++ b/internal/command/workspace_delete.go @@ -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 diff --git a/internal/command/workspace_list.go b/internal/command/workspace_list.go index 72ca723f06..cb2bd4594d 100644 --- a/internal/command/workspace_list.go +++ b/internal/command/workspace_list.go @@ -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. diff --git a/internal/command/workspace_select.go b/internal/command/workspace_select.go index 8bc25bf95c..6fcc888285 100644 --- a/internal/command/workspace_select.go +++ b/internal/command/workspace_select.go @@ -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.