aboutsummaryrefslogtreecommitdiff
path: root/bash-completion
diff options
context:
space:
mode:
Diffstat (limited to 'bash-completion')
-rw-r--r--bash-completion/adjutrix5
-rw-r--r--bash-completion/qualudis5
2 files changed, 6 insertions, 4 deletions
diff --git a/bash-completion/adjutrix b/bash-completion/adjutrix
index 8f3ffeba4..8723a58fa 100644
--- a/bash-completion/adjutrix
+++ b/bash-completion/adjutrix
@@ -46,7 +46,8 @@ _adjutrix() {
--category -C \
--package -P \
--profile -p \
- --unstable -U"
+ --unstable -U \
+ --write-cache-dir"
case "${cur}" in
-*)
@@ -85,7 +86,7 @@ _adjutrix() {
return 0
;;
- --repository-dir|-D)
+ --repository-dir|-D|--write-cache-dir)
COMPREPLY=($(compgen -d -- "${cur}"))
return 0
;;
diff --git a/bash-completion/qualudis b/bash-completion/qualudis
index c8f6831f7..04e78597b 100644
--- a/bash-completion/qualudis
+++ b/bash-completion/qualudis
@@ -18,7 +18,8 @@ _qualudis() {
--verbose -v \
--quiet -q \
--log-level -L \
- --message-level -M"
+ --message-level -M \
+ --write-cache-dir"
case "${cur}" in
-*)
@@ -38,7 +39,7 @@ _qualudis() {
;;
--qa-check|-c)
- COMPREPLY=($(compgen -W "$(qualudis --log-level silent --describe |sed -n 's/ \(.*\):/\1/p')" -- "${cur}"))
+ COMPREPLY=($(compgen -W "$(qualudis --log-level silent --describe |sed -n 's/^ \(.*\):$/\1/p')" -- "${cur}"))
return 0
;;