add docs
This commit is contained in:
parent
76e3d57cae
commit
855ba9775a
|
@ -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)
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue