Skip to content

Commit

Permalink
feat: update help print message
Browse files Browse the repository at this point in the history
  • Loading branch information
Cerebrovinny committed Oct 27, 2024
1 parent 2e1de82 commit 455f9d8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/exec/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (

"github.com/cloudposse/atmos/pkg/schema"
u "github.com/cloudposse/atmos/pkg/utils"
"github.com/cloudposse/atmos/pkg/version"
)

// processHelp processes help commands
Expand Down Expand Up @@ -46,8 +47,9 @@ func processHelp(componentType string, command string) error {
"native arguments and flags for the 'terraform' commands. " +
"For example: atmos terraform plan <component> -s <stack> -- -refresh=false -lock=false")

u.PrintMessage(" - '--append-user-agent' flag sets the TF_APPEND_USER_AGENT environment variable to customize the User-Agent string in Terraform provider requests. " +
"Example: 'Atmos/<version> (Cloud Posse; +https://atmos.tools)'\n")
u.PrintMessage(fmt.Sprintf(" - '--append-user-agent' flag sets the TF_APPEND_USER_AGENT environment variable to customize the User-Agent string in Terraform provider requests. "+
"Example: 'Atmos/%s (Cloud Posse; +https://atmos.tools)'. "+
"If not specified, defaults to 'atmos %s'\n", version.Version, version.Version))

}

Expand Down

0 comments on commit 455f9d8

Please sign in to comment.