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