command: change wording for init's postitional arg

`packer init' is meant to be invoked on a template file or a directory.
This was described in the command-line help message as
`[template.pkr.hcl|folder]'.

Because this is encapsulated between square brackets, this could be
taken as an option instead of a positional, mandatory argument.

This commit changes the wording to adopt a similar convention as `packer
build', so the two are consistent in how they are invoked, and to avoid
mistaking this argument as optional.
This commit is contained in:
Lucas Bajolet
2023-08-16 14:36:47 -04:00
parent 51db1cfe21
commit 3c5ded984e
+1 -1
View File
@@ -180,7 +180,7 @@ packer {
func (*InitCommand) Help() string {
helpText := `
Usage: packer init [options] [config.pkr.hcl|folder/]
Usage: packer init [options] TEMPLATE
Install all the missing plugins required in a Packer config. Note that Packer
does not have a state.