From 855ba9775a75cb9b61796c00d7ec8013130e645f Mon Sep 17 00:00:00 2001 From: sylviamoss Date: Fri, 12 Feb 2021 15:31:13 +0100 Subject: [PATCH] add docs --- command/cli.go | 2 +- website/content/docs/commands/hcl2_upgrade.mdx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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.