Skip to content

Commit

Permalink
Fix flag description telemetry issue
Browse files Browse the repository at this point in the history
  • Loading branch information
magodo committed Nov 8, 2023
1 parent c6e0cf1 commit 0076d97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flag.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ func (flag FlagSet) DescribeCLI(mode string) string {
args = append(args, "--append=true")
}
if flag.flagProviderVersion != "" {
args = append(args, `-provider-version="%s"`, flag.flagProviderVersion)
args = append(args, fmt.Sprintf(`-provider-version="%s"`, flag.flagProviderVersion))
}
if flag.flagProviderName != "" {
args = append(args, `-provider-name="%s"`, flag.flagProviderName)
args = append(args, fmt.Sprintf(`-provider-name="%s"`, flag.flagProviderName))
}
if flag.flagBackendType != "" {
args = append(args, "--backend-type="+flag.flagBackendType)
Expand Down

0 comments on commit 0076d97

Please sign in to comment.