dev-python/ebuildtester: Update bash-completion
authorNicolas Bock <nicolasbock@gentoo.org>
Sat, 22 Dec 2018 14:59:17 +0000 (07:59 -0700)
committerNicolas Bock <nicolasbock@gentoo.org>
Sat, 22 Dec 2018 14:59:55 +0000 (07:59 -0700)
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Nicolas Bock <nicolasbock@gentoo.org>
dev-python/ebuildtester/files/ebuildtester.bash-completion

index b8e7cd27c39320bf953bfa13a5c08c198978847c..ca0266720622be500d70978ccbda25c3cab96e42 100644 (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