command: Use full URL for the download page when prompting for upgrade
This makes it more likely that a terminal emulator will detect the URL as a clickable link.
This commit is contained in:
parent
b5830484b8
commit
6833ac290b
|
@ -108,7 +108,7 @@ func (c *VersionCommand) Run(args []string) int {
|
||||||
if info.Outdated {
|
if info.Outdated {
|
||||||
c.Ui.Output(fmt.Sprintf(
|
c.Ui.Output(fmt.Sprintf(
|
||||||
"\nYour version of Terraform is out of date! The latest version\n"+
|
"\nYour version of Terraform is out of date! The latest version\n"+
|
||||||
"is %s. You can update by downloading from www.terraform.io/downloads.html",
|
"is %s. You can update by downloading from https://www.terraform.io/downloads.html",
|
||||||
info.Latest))
|
info.Latest))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue