--- a/bash-completion.sh Sat Feb 26 01:21:14 2022 +0100
+++ b/bash-completion.sh Tue Mar 01 00:47:49 2022 +0100
@@ -35,14 +35,13 @@
)
if [[ "$w1" == "--relation" && "x$w0" == "x" ]]; then COMPREPLY=("''")
- elif [[ "$w1" == "--attribute" && "x$w0" == "x" ]]; then COMPREPLY=("''")
- elif [[ "$w2" == "--attribute" ]]; then COMPREPLY=($(compgen -W "${DATA_TYPE[*]}" -- "$w0"))
- elif [[ "$w1" == "--read-types" ]]; then COMPREPLY=($(compgen -W "${READ_TYPES[*]}" -- "$w0"))
+ elif [[ "$w1" == "--queue" && "x$w0" == "x" ]]; then COMPREPLY=("''")
+ elif [[ "$w1" == "--message-count" && "x$w0" == "x" ]]; then COMPREPLY=("1")
else
OPTIONS=(
"--relation"
- "--attribute"
- "--read-types"
+ "--queue"
+ "--message-count"
)
COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0"))
fi