From afab2e44d712915498295461965ebed60cd726aa Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 9 Aug 2013 16:46:06 -0700 Subject: [PATCH] command/build,validate: accept -var-file --- command/build/help.go | 1 + command/validate/help.go | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/command/build/help.go b/command/build/help.go index 8cd97c14e..d6b219914 100644 --- a/command/build/help.go +++ b/command/build/help.go @@ -13,4 +13,5 @@ Options: -except=foo,bar,baz Build all builds other than these -only=foo,bar,baz Only build the given builds by name -var 'key=value' Variable for templates, can be used multiple times. + -var-file=path JSON file containing user variables. ` diff --git a/command/validate/help.go b/command/validate/help.go index 2289fa68c..8959cd881 100644 --- a/command/validate/help.go +++ b/command/validate/help.go @@ -15,5 +15,6 @@ Options: -syntax-only Only check syntax. Do not verify config of the template. -except=foo,bar,baz Validate all builds other than these -only=foo,bar,baz Validate only these builds - -var 'key=value' Variable for templates, can be used multiple times. + -var 'key=value' Variable for templates, can be used multiple times. + -var-file=path JSON file containing user variables. `