From 95760462a6ded0f4fb797b9b7af35f5909ee0ed7 Mon Sep 17 00:00:00 2001 From: Jake Champlin Date: Mon, 14 Nov 2016 10:06:43 -0500 Subject: [PATCH] Update help output for build command The `-only` flag has been around for some time now, and is documented on our packer website, yet the help output for `packer build` lacks this command line option. --- command/build.go | 1 + 1 file changed, 1 insertion(+) diff --git a/command/build.go b/command/build.go index 8f7b3d8ad..3d9a29ded 100644 --- a/command/build.go +++ b/command/build.go @@ -288,6 +288,7 @@ 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 -on-error=[cleanup|abort|ask] If the build fails do: clean up (default), abort, or ask