aboutsummaryrefslogtreecommitdiff
path: root/bash-completion/qualudis
diff options
context:
space:
mode:
Diffstat (limited to 'bash-completion/qualudis')
-rw-r--r--bash-completion/qualudis5
1 files changed, 3 insertions, 2 deletions
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
;;