diff options
author | 2007-01-25 00:12:50 +0000 | |
---|---|---|
committer | 2007-01-25 00:12:50 +0000 | |
commit | 2c67a1b0308b2c0bd4685ec32781ba34da4877d6 (patch) | |
tree | d498bfcb26b85558d91b53211cb0414e998c4a7a /bash-completion | |
parent | ef5f55422692648ab93bbf03b5b1d40b4a4b17aa (diff) | |
download | paludis-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/paludis | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bash-completion/paludis b/bash-completion/paludis index 1907e1749..c2e4c2340 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 |