From 0e2a3e105803e16efbc745e8397dc99ea42699d8 Mon Sep 17 00:00:00 2001 From: Wilken Rivera Date: Thu, 27 Aug 2020 11:52:09 -0400 Subject: [PATCH] command/hcl2_upgrade: Update description text for command Before change ``` Usage: packer [--version] [--help] [] Available commands are: build build image(s) from template console creates a console for testing variable interpolation fix fixes templates from old versions of packer hcl2_upgrade build image(s) from template inspect see components of a template validate check that a template is valid version Prints the Packer version ``` After change ``` Usage: packer [--version] [--help] [] Available commands are: build build image(s) from template console creates a console for testing variable interpolation fix fixes templates from old versions of packer hcl2_upgrade transform a JSON template into a HCL2 configuration inspect see components of a template validate check that a template is valid version Prints the Packer version ``` --- command/hcl2_upgrade.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/hcl2_upgrade.go b/command/hcl2_upgrade.go index 667cbc785..1ea3a646f 100644 --- a/command/hcl2_upgrade.go +++ b/command/hcl2_upgrade.go @@ -379,7 +379,7 @@ Usage: packer hcl2_upgrade -output-file=JSON_TEMPLATE.pkr.hcl JSON_TEMPLATE... } func (*HCL2UpgradeCommand) Synopsis() string { - return "build image(s) from template" + return "transform a JSON template into a HCL2 configuration" } func (*HCL2UpgradeCommand) AutocompleteArgs() complete.Predictor {