mirror of
https://github.com/opentofu/opentofu.git
synced 2024-12-23 15:40:07 -06:00
Add missing [options] to help text where applicable (#1855)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
parent
3b3822d770
commit
eb69100dbd
@ -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.
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user