Add a missing option to pbuilder-dist.bash_completion.

This commit is contained in:
Siegfried-Angel Gevatter Pujals (RainCT) 2008-01-22 20:11:59 +01:00
parent cbaaa07dab
commit 5df17d12fc

View File

@ -1,11 +1,13 @@
# Debian GNU/Linux cowbuilder(1) completion # pbuilder-dist completion
# Copyright 2007 Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
# #
# This script can be distributed under the same license as the # Copyright 2008 Stephan Hermann <sh@sourcecode.de>, created for
# cowdancer or bash packages. # the Ubuntu MOTU Team.
# #
# adapted to pbuilderdist, the license is GPLv2 or later. # Released under the GNU General Public License, version 2
# Copyright 2008 Stephan Hermann <sh@sourcecode.de> for the Ubuntu MOTU Team #
# Based upon cobwuilder's autocompletion, Copyright 2007 Cyril
# Brulebois <cyril.brulebois@enst-bretagne.fr>
have pbuilder-dist && have pbuilder-dist &&
_pbuilder-dist() _pbuilder-dist()
@ -15,7 +17,8 @@ _pbuilder-dist()
COMPREPLY=() COMPREPLY=()
cur=${COMP_WORDS[COMP_CWORD]} cur=${COMP_WORDS[COMP_CWORD]}
prev=${COMP_WORDS[COMP_CWORD-1]} prev=${COMP_WORDS[COMP_CWORD-1]}
options='create update build login execute'
options='create update build clean login execute'
case $prev in case $prev in
build) build)