Apply upstream indentation settings.

This commit is contained in:
Ville Skyttä 2009-03-14 21:09:35 +00:00
parent 23bfeb08a0
commit 46dfbbd339
2 changed files with 73 additions and 65 deletions

View File

@ -1,4 +1,7 @@
# bash completion for mock -*- sh -*- # -*- mode: shell-script; sh-basic-offset: 8; indent-tabs-mode: t -*-
# ex: ts=8 sw=8 noet filetype=sh
#
# bash completion for mock
# TODO: --copyin, --copyout # TODO: --copyin, --copyout
@ -54,14 +57,15 @@ _mock()
fi fi
if [[ "$cur" == -* ]] ; then if [[ "$cur" == -* ]] ; then
COMPREPLY=( $( compgen -W '--version -h --help --rebuild --shell \ COMPREPLY=( $( compgen -W '--version -h --help --rebuild \
--chroot --clean --init --installdeps --install --update \ --shell --chroot --clean --init --installdeps \
--orphanskill -r --root= --offline --no-clean --cleanup-after \ --install --update --orphanskill -r --root= --offline \
--no-cleanup-after --arch= --target= -D --define= --with= \ --no-clean --cleanup-after --no-cleanup-after --arch= \
--without= --resultdir= --uniqueext= --configdir= \ --target= -D --define= --with= --without= \
--rpmbuild_timeout --unpriv --cwd= -v --verbose -q --quiet \ --resultdir= --uniqueext= --configdir= \
--trace --enable-plugin= --disable-plugin= --print-root-path' \ --rpmbuild_timeout --unpriv --cwd= -v --verbose -q \
-- $cur ) ) --quiet --trace --enable-plugin= --disable-plugin= \
--print-root-path' -- $cur ) )
else else
_filedir '?(no)src.rpm' _filedir '?(no)src.rpm'
fi fi

View File

@ -1,4 +1,7 @@
# bash completion for plague-client -*- sh -*- # -*- mode: shell-script; sh-basic-offset: 8; indent-tabs-mode: t -*-
# ex: ts=8 sw=8 noet filetype=sh
# bash completion for plague-client
_plague_client() _plague_client()
{ {
@ -8,8 +11,9 @@ _plague_client()
cur=`_get_cword` cur=`_get_cword`
[ $COMP_CWORD = 1 ] && \ [ $COMP_CWORD = 1 ] && \
COMPREPLY=( $( compgen -W 'build detail finish help is_paused kill list \ COMPREPLY=( $( compgen -W 'build detail finish help is_paused \
list_builders pause requeue unpause update_builders' -- $cur ) ) kill list list_builders pause requeue unpause \
update_builders' -- $cur ) )
return 0 return 0
} }