Skip to content

Commit

Permalink
command/build,validate: accept -var-file
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Aug 9, 2013
1 parent 398b8fc commit afab2e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions command/build/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
`
3 changes: 2 additions & 1 deletion command/validate/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
`

0 comments on commit afab2e4

Please sign in to comment.