aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Mike Kelly <pioto@pioto.org> 2007-01-19 05:36:44 +0000
committerAvatar Mike Kelly <pioto@pioto.org> 2007-01-19 05:36:44 +0000
commitca1923b8bd6437bd9a488932d7af7334f32870fa (patch)
treef94a9b89c7301ab971625759fde45e2bbae9d8b3
parentd3c7ed4e78574b12713b14cc9fb710fdb9dc5258 (diff)
downloadpaludis-ca1923b8bd6437bd9a488932d7af7334f32870fa.tar.gz
paludis-ca1923b8bd6437bd9a488932d7af7334f32870fa.tar.xz
Add new deplist options support for paludis bashcomp.
-rw-r--r--bash-completion/paludis25
1 files changed, 24 insertions, 1 deletions
diff --git a/bash-completion/paludis b/bash-completion/paludis
index 1077f9c..1907e17 100644
--- a/bash-completion/paludis
+++ b/bash-completion/paludis
@@ -66,6 +66,7 @@ _paludis() {
--dl-reinstall-scm \
--dl-upgrade \
--dl-new-slots \
+ --dl-downgrade \
--dl-deps-default \
--dl-installed-deps-pre \
--dl-installed-deps-runtime \
@@ -73,7 +74,11 @@ _paludis() {
--dl-uninstalled-deps-pre \
--dl-uninstalled-deps-runtime \
--dl-uninstalled-deps-post \
+ --dl-uninstalled-deps-suggested \
+ --dl-suggested \
--dl-circular \
+ --dl-blocks \
+ --dl-override-masks \
--dl-fall-back"
query_opts="--show-deps -D \
@@ -216,11 +221,29 @@ _paludis() {
COMPREPLY=($(compgen -W "always as-needed" -- "${cur}"))
return 0
;;
+ --dl-downgrade)
+ COMPREPLY=($(compgen -W "as-needed warning error" -- "${cur}"))
+ return 0
+ ;;
- --dl-deps-default|--dl-installed-deps-pre|--dl-installed-deps-runtime|--dl-installed-deps-post|--dl-uninstalled-deps-pre|--dl-uninstalled-deps-runtime|--dl-uninstalled-deps-post)
+ --dl-deps-default|--dl-installed-deps-pre|--dl-installed-deps-runtime|--dl-installed-deps-post|--dl-uninstalled-deps-pre|--dl-uninstalled-deps-runtime|--dl-uninstalled-deps-post|--dl-uninstalled-deps-suggested)
COMPREPLY=($(compgen -W "pre pre-or-post post try-post discard" -- "${cur}"))
return 0
;;
+
+ --dl-suggested)
+ COMPREPLY=($(compgen -W "show install discard" -- "${cur}"))
+ return 0
+ ;;
+ --dl-blocks)
+ COMPREPLY=($(compgen -W "accumulate error discard" -- "${cur}"))
+ return 0
+ ;;
+ --dl-override-masks)
+ COMPREPLY=($(compgen -W "tilde-keyword unkeyworded profile repository license" -- "${cur}"))
+ return 0
+ ;;
+
--dl-circular)
COMPREPLY=($(compgen -W "error discard" -- "${cur}"))
return 0