dev-python/ebuildtester: Update bash-completion

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Nicolas Bock <nicolasbock@gentoo.org>
This commit is contained in:
Nicolas Bock
2018-12-22 07:59:17 -07:00
parent c57d7e358b
commit ead2ec9ec5

View File

@@ -3,7 +3,7 @@ _ebuildtester() {
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts="--help --portage-dir --atom --threads"
opts="--help --portage-dir --overlay-dir --update --atom --threads"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
@@ -11,7 +11,7 @@ _ebuildtester() {
fi
case "${prev}" in
--portage-dir)
--portage-dir|--overlay-dir)
COMPREPLY=( $(compgen -o dirnames -A directory ${cur}) )
;;
esac