diff --git a/command/cli.go b/command/cli.go index 10f7242a4..e7ea6cbf4 100644 --- a/command/cli.go +++ b/command/cli.go @@ -145,7 +145,7 @@ type InspectArgs struct { func (va *HCL2UpgradeArgs) AddFlagSets(flags *flag.FlagSet) { flags.StringVar(&va.OutputFile, "output-file", "", "File where to put the hcl2 generated config. Defaults to JSON_TEMPLATE.pkr.hcl") - flags.BoolVar(&va.WithAnnotations, "with-annotations", false, "Add to the generated file helper annotations about the generated HCL2 blocks.") + flags.BoolVar(&va.WithAnnotations, "with-annotations", false, "Adds helper annotations with information about the generated HCL2 blocks.") va.MetaArgs.AddFlagSets(flags) } diff --git a/website/content/docs/commands/hcl2_upgrade.mdx b/website/content/docs/commands/hcl2_upgrade.mdx index 3a974d7f5..d6a5b44e6 100644 --- a/website/content/docs/commands/hcl2_upgrade.mdx +++ b/website/content/docs/commands/hcl2_upgrade.mdx @@ -78,3 +78,4 @@ working on improving this part of the transformer. - `-output-file` - File where to put the hcl2 generated config. Defaults to JSON_TEMPLATE.pkr.hcl +- `-with-annotations` - Adds helper annotations with information about the generated HCL2 blocks.