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
@ -54,14 +57,15 @@ _mock()
fi
if [[ "$cur" == -* ]] ; then
COMPREPLY=( $( compgen -W '--version -h --help --rebuild --shell \
--chroot --clean --init --installdeps --install --update \
--orphanskill -r --root= --offline --no-clean --cleanup-after \
--no-cleanup-after --arch= --target= -D --define= --with= \
--without= --resultdir= --uniqueext= --configdir= \
--rpmbuild_timeout --unpriv --cwd= -v --verbose -q --quiet \
--trace --enable-plugin= --disable-plugin= --print-root-path' \
-- $cur ) )
COMPREPLY=( $( compgen -W '--version -h --help --rebuild \
--shell --chroot --clean --init --installdeps \
--install --update --orphanskill -r --root= --offline \
--no-clean --cleanup-after --no-cleanup-after --arch= \
--target= -D --define= --with= --without= \
--resultdir= --uniqueext= --configdir= \
--rpmbuild_timeout --unpriv --cwd= -v --verbose -q \
--quiet --trace --enable-plugin= --disable-plugin= \
--print-root-path' -- $cur ) )
else
_filedir '?(no)src.rpm'
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()
{
@ -8,8 +11,9 @@ _plague_client()
cur=`_get_cword`
[ $COMP_CWORD = 1 ] && \
COMPREPLY=( $( compgen -W 'build detail finish help is_paused kill list \
list_builders pause requeue unpause update_builders' -- $cur ) )
COMPREPLY=( $( compgen -W 'build detail finish help is_paused \
kill list list_builders pause requeue unpause \
update_builders' -- $cur ) )
return 0
}