Merge pull request #8160 from ajorpheus/fix-zsh-autocomplete-Issue-8158

Fix zsh auto-completion
pull/8166/head
Adrien Delorme 7 years ago committed by GitHub
commit 1ed7f03fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -31,8 +31,8 @@ _packer () {
local -a validate_arguments && validate_arguments=(
'-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].'
'-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-file=[(path) JSON file containing user variables.]'
'(-)*:files:_files -g "*.json"'

Loading…
Cancel
Save