Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 4bb937aa4d8963fe891127b7e087e567 > files > 13

bash-completion-1.3-5.fc15.src.rpm

# -*- 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()
{
	local cur

	COMPREPLY=()
	_get_comp_words_by_ref cur

	[ $COMP_CWORD = 1 ] && \
		COMPREPLY=( $( compgen -W 'build detail finish help is_paused \
				kill list list_builders pause requeue unpause \
				update_builders' -- $cur ) )

	return 0
} &&
complete -F _plague_client plague-client