Commit 9a82910f authored by Brandon Liu's avatar Brandon Liu

Command helpText indicates that options must come before template.

parent 7198936f
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.
......
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 ...@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment