Puppet: describe: update options list, accordind to 'puppet help describe'

This commit is contained in:
Mathieu Parent 2014-05-30 16:00:23 +02:00 committed by Ville Skyttä
parent b46636ae16
commit 0bbcc476b2

View File

@ -199,10 +199,8 @@ _puppet()
esac esac
;; ;;
describe) describe)
if [[ "$cur" == -* ]]; then COMPREPLY=( $( compgen -W '--help --providers --list --meta --short' -- "$cur" ) )
COMPREPLY=( $( compgen -W '--help --short --providers --list if [[ "$cur" != -* ]]; then
--meta' -- "$cur" ) )
else
_puppet_types _puppet_types
fi fi
return 0 return 0