[Bash-completion-commits] [bash-completion] 05/11: Puppet: apply: update options list, accordind to 'puppet help apply'
Ville Skyttä
scop-guest at moszumanska.debian.org
Mon Jun 2 09:42:33 UTC 2014
This is an automated email from the git hooks/post-receive script.
scop-guest pushed a commit to branch master
in repository bash-completion.
commit 5a536aec4ca4e8bc6c179dfd2f98d71a3c541f1d
Author: Mathieu Parent <math.parent at gmail.com>
Date: Fri May 30 15:32:16 2014 +0200
Puppet: apply: update options list, accordind to 'puppet help apply'
---
completions/puppet | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/completions/puppet b/completions/puppet
index 02ac1b0..e757815 100644
--- a/completions/puppet
+++ b/completions/puppet
@@ -139,15 +139,23 @@ _puppet()
;;
apply)
case $prev in
+ --catalog)
+ COMPREPLY=( $( compgen -W '-' -- "$cur" ) )
+ _filedir json
+ return 0
+ ;;
+ --execute)
+ return 0
+ ;;
--logdest)
_puppet_logdest
return 0
;;
*)
if [[ "$cur" == -* ]]; then
- COMPREPLY=( $( compgen -W '--help --version --debug
- --verbose --execute --detailed-exitcodes
- --logdest' -- "$cur" ) )
+ COMPREPLY=( $( compgen -W '--debug --detailed-exitcodes --help
+ --loadclasses --logdest --noop --execute --test --verbose
+ --catalog --write-catalog-summary' -- "$cur" ) )
else
_filedir
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/bash-completion/bash-completion.git
More information about the Bash-completion-commits
mailing list