Merge pull request #6058 from mayn/fix-docs-commands
docs/commands - update options to match those listed in command help output
This commit is contained in:
commit
17db461404
|
@ -49,3 +49,8 @@ that are created will be outputted at the end of the build.
|
||||||
|
|
||||||
- `-parallel=false` - Disable parallelization of multiple builders (on by
|
- `-parallel=false` - Disable parallelization of multiple builders (on by
|
||||||
default).
|
default).
|
||||||
|
|
||||||
|
- `-var` - Set a variable in your packer template. This option can be used
|
||||||
|
multiple times. This is useful for setting version numbers for your build.
|
||||||
|
|
||||||
|
- `-var-file` - Set template variables from a file.
|
||||||
|
|
|
@ -35,3 +35,7 @@ human readability.
|
||||||
|
|
||||||
The full list of fixes that the fix command performs is visible in the help
|
The full list of fixes that the fix command performs is visible in the help
|
||||||
output, which can be seen via `packer fix -h`.
|
output, which can be seen via `packer fix -h`.
|
||||||
|
|
||||||
|
## Options
|
||||||
|
|
||||||
|
- `-validate=false` - Disables validation of the fixed template. True by default.
|
||||||
|
|
|
@ -32,3 +32,16 @@ Errors validating build 'vmware'. 1 error(s) occurred:
|
||||||
|
|
||||||
- `-syntax-only` - Only the syntax of the template is checked. The configuration
|
- `-syntax-only` - Only the syntax of the template is checked. The configuration
|
||||||
is not validated.
|
is not validated.
|
||||||
|
|
||||||
|
- `-except=foo,bar,baz` - Builds all the builds except those with the given
|
||||||
|
comma-separated names. Build names by default are the names of their builders,
|
||||||
|
unless a specific `name` attribute is specified within the configuration.
|
||||||
|
|
||||||
|
- `-only=foo,bar,baz` - Only build the builds with the given comma-separated
|
||||||
|
names. Build names by default are the names of their builders, unless a
|
||||||
|
specific `name` attribute is specified within the configuration.
|
||||||
|
|
||||||
|
- `-var` - Set a variable in your packer template. This option can be used
|
||||||
|
multiple times. This is useful for setting version numbers for your build.
|
||||||
|
|
||||||
|
- `-var-file` - Set template variables from a file.
|
||||||
|
|
Loading…
Reference in New Issue