diff --git a/command/build.go b/command/build.go index 39e761ba5..c8e2bd994 100644 --- a/command/build.go +++ b/command/build.go @@ -294,16 +294,16 @@ Usage: packer build [options] TEMPLATE Options: - -color=false Disable color output (on by default) - -debug Debug mode enabled for builds - -except=foo,bar,baz Build all builds other than these - -only=foo,bar,baz Build only the specified builds - -force Force a build to continue if artifacts exist, deletes existing artifacts - -machine-readable Machine-readable output + -color=false Disable color output (on by default) + -debug Debug mode enabled for builds + -except=foo,bar,baz Build all builds other than these + -only=foo,bar,baz Build only the specified builds + -force Force a build to continue if artifacts exist, deletes existing artifacts + -machine-readable Machine-readable output -on-error=[cleanup|abort|ask] If the build fails do: clean up (default), abort, or ask - -parallel=false Disable parallelization (on by default) - -var 'key=value' Variable for templates, can be used multiple times. - -var-file=path JSON file containing user variables. + -parallel=false Disable parallelization (on by default) + -var 'key=value' Variable for templates, can be used multiple times. + -var-file=path JSON file containing user variables. ` return strings.TrimSpace(helpText)