[Bash-completion-commits] [bash-completion] 07/11: Puppet: describe: update options list, accordind to 'puppet help describe'

Ville Skyttä scop-guest at moszumanska.debian.org
Mon Jun 2 09:42:34 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 0bbcc476b2d8f54c8a6a3e633db97586ecb0e23c
Author: Mathieu Parent <math.parent at gmail.com>
Date:   Fri May 30 16:00:23 2014 +0200

    Puppet: describe: update options list, accordind to 'puppet help describe'
---
 completions/puppet | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/completions/puppet b/completions/puppet
index fd4ff09..1b15ebc 100644
--- a/completions/puppet
+++ b/completions/puppet
@@ -199,10 +199,8 @@ _puppet()
             esac
             ;;
         describe)
-            if [[ "$cur" == -* ]]; then
-                COMPREPLY=( $( compgen -W '--help --short --providers --list
-                    --meta' -- "$cur" ) )
-            else
+            COMPREPLY=( $( compgen -W '--help --providers --list --meta --short' -- "$cur" ) )
+            if [[ "$cur" != -* ]]; then
                 _puppet_types
             fi
             return 0

-- 
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