diff -r 452d06d24ac2 -r ccaed729f8d3 bash-completion.sh --- a/bash-completion.sh Sun May 01 18:24:24 2022 +0200 +++ b/bash-completion.sh Sun May 01 22:27:42 2022 +0200 @@ -22,25 +22,10 @@ w2=${COMP_WORDS[COMP_CWORD-2]} w3=${COMP_WORDS[COMP_CWORD-3]} - DATA_TYPE=( - "string" - "integer" - "boolean" - ) - - BOOLEAN_VALUES=( - "true" - "false" - ) - - if [[ "$w1" == "--relation" && "x$w0" == "x" ]]; then COMPREPLY=("''") - elif [[ "$w1" == "--unlink-on-close" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) - elif [[ "$w1" == "--queue" && "x$w0" == "x" ]]; then COMPREPLY=("''") + if [[ "$w1" == "--endpoint-url" && "x$w0" == "x" ]]; then COMPREPLY=("'tcp://localhost:1234'") else OPTIONS=( - "--relation" - "--unlink-on-close" - "--queue" + "--endpoint-url" ) COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) fi