aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Mike Kelly <pioto@pioto.org> 2007-01-24 16:10:19 +0000
committerAvatar Mike Kelly <pioto@pioto.org> 2007-01-24 16:10:19 +0000
commitc9f4d964f2c667efda6060135004035a93ecf1c2 (patch)
tree2621a613410b83e353e81cfb8245316f6c272f62
parentd0e4e78c65c12fdeff634fd08c690bc4c2ffd00e (diff)
downloadpaludis-c9f4d964f2c667efda6060135004035a93ecf1c2.tar.gz
paludis-c9f4d964f2c667efda6060135004035a93ecf1c2.tar.xz
Update adjutrix bashcomp w/ new command line opts (still needs some tweaking).
-rw-r--r--bash-completion/adjutrix7
1 files changed, 7 insertions, 0 deletions
diff --git a/bash-completion/adjutrix b/bash-completion/adjutrix
index 94d313d..5e0822e 100644
--- a/bash-completion/adjutrix
+++ b/bash-completion/adjutrix
@@ -35,8 +35,10 @@ _adjutrix() {
opts="--find-stable-candidates -s \
--find-dropped-keywords -d \
--find-insecure-packages -i \
+ --find-unused-packages -U \
--keyword-graph -k \
--reverse-deps -r \
+ --what-needs-keywording -w \
--display-profiles-use -u \
--display-default-system-resolution -S \
--version -V \
@@ -87,6 +89,11 @@ _adjutrix() {
COMPREPLY=($(compgen -W "$(< ${repodir}/profiles/arch.list)" -- "${cur}"))
return 0
;;
+ --what-needs-keywording|-w)
+ # still needs some improvement to do package names as the second arg...
+ COMPREPLY=($(compgen -W "$(< ${repodir}/profiles/arch.list)" -- "${cur}"))
+ return 0
+ ;;
--repository-dir|-D|--write-cache-dir)
_filedir -d