Command helpText indicates that options must come before template.
This commit is contained in:
parent
7198936f7e
commit
9a82910f9a
|
@ -1,7 +1,7 @@
|
||||||
package build
|
package build
|
||||||
|
|
||||||
const helpText = `
|
const helpText = `
|
||||||
Usage: packer build TEMPLATE
|
Usage: packer build [options] TEMPLATE
|
||||||
|
|
||||||
Will execute multiple builds in parallel as defined in the template.
|
Will execute multiple builds in parallel as defined in the template.
|
||||||
The various artifacts created by the template will be outputted.
|
The various artifacts created by the template will be outputted.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
package validate
|
package validate
|
||||||
|
|
||||||
const helpString = `
|
const helpString = `
|
||||||
Usage: packer validate TEMPLATE
|
Usage: packer validate [options] TEMPLATE
|
||||||
|
|
||||||
Checks the template is valid by parsing the template and also
|
Checks the template is valid by parsing the template and also
|
||||||
checking the configuration with the various builders, provisioners, etc.
|
checking the configuration with the various builders, provisioners, etc.
|
||||||
|
|
|
@ -52,7 +52,7 @@ it is not required. You're allowed to make the help look like anything
|
||||||
you please.
|
you please.
|
||||||
|
|
||||||
```
|
```
|
||||||
Usage: packer COMMAND ARGS...
|
Usage: packer COMMAND [options] ARGS...
|
||||||
|
|
||||||
Brief one or two sentence about the function of the command.
|
Brief one or two sentence about the function of the command.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue