Skip to content

Commit

Permalink
chore: fix latest flag binding
Browse files Browse the repository at this point in the history
  • Loading branch information
bschaatsbergen committed Feb 11, 2024
1 parent 47112f6 commit 9ed6492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var (

func init() {
rootCmd.AddCommand(installCmd)
rootCmd.Flags().BoolVar(&latest, "latest", false, "install the latest stable Terraform version")
installCmd.Flags().BoolVar(&latest, "latest", false, "install the latest stable Terraform version")
}

func execInstall(version string) {
Expand Down

0 comments on commit 9ed6492

Please sign in to comment.