The following commit has been merged in the master branch:
commit 2f2f1278c7ae535d1c3763370e22e7f4083a50e7
Author: Ville Skyttä <[email protected]>
Date: Sat Mar 16 20:41:23 2013 +0200
koji: Complete on build targets when --target is given to wait-repo.
diff --git a/completions/koji b/completions/koji
index f4bdeac..bd6cb2f 100644
--- a/completions/koji
+++ b/completions/koji
@@ -162,7 +162,7 @@ _koji()
latest-by-tag)
_koji_package "$1"
;;
- latest-pkg|list-groups|list-tag-inheritance|show-groups|wait-repo)
+ latest-pkg|list-groups|list-tag-inheritance|show-groups)
case $nth in
1)
_koji_tag "$1"
@@ -217,6 +217,19 @@ _koji()
taginfo)
_koji_tag "$1"
;;
+ wait-repo)
+ case $nth in
+ 1)
+ for (( i=commandix+1; i < cword; i++ )); do
+ if [[ ${words[i]} == --target ]]; then
+ _koji_target "$1"
+ return
+ fi
+ done
+ _koji_tag "$1"
+ ;;
+ esac
+ ;;
esac
return
fi
--
bash-completion
_______________________________________________
Bash-completion-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/bash-completion-commits