aboutsummaryrefslogtreecommitdiff
path: root/bash-completion
diff options
context:
space:
mode:
authorAvatar Mike Kelly <pioto@pioto.org> 2007-01-25 00:12:50 +0000
committerAvatar Mike Kelly <pioto@pioto.org> 2007-01-25 00:12:50 +0000
commit2c67a1b0308b2c0bd4685ec32781ba34da4877d6 (patch)
treed498bfcb26b85558d91b53211cb0414e998c4a7a /bash-completion
parentef5f55422692648ab93bbf03b5b1d40b4a4b17aa (diff)
downloadpaludis-2c67a1b0308b2c0bd4685ec32781ba34da4877d6.tar.gz
paludis-2c67a1b0308b2c0bd4685ec32781ba34da4877d6.tar.xz
Add a --repository-format option to allow restricting --list-* output to just repositories with a matching format.
Diffstat (limited to 'bash-completion')
-rw-r--r--bash-completion/paludis5
1 files changed, 5 insertions, 0 deletions
diff --git a/bash-completion/paludis b/bash-completion/paludis
index 1907e17..c2e4c23 100644
--- a/bash-completion/paludis
+++ b/bash-completion/paludis
@@ -111,6 +111,7 @@ _paludis() {
env_variable_query_opts=""
conf_variable_query_opts=""
list_opts="--repository \
+ --repository-format \
--category \
--package \
--set"
@@ -257,6 +258,10 @@ _paludis() {
COMPREPLY=($(compgen -W "$(_paludis_dolist repositories)" -- "${cur}"))
return 0
;;
+ --repository-format)
+ COMPREPLY=($(compgen -W "$(_paludis_dolist repository-formats)" -- "${cur}"))
+ return 0
+ ;;
--category)
COMPREPLY=($(compgen -W "$(_paludis_dolist categories)" -- "${cur}"))
return 0