diff -r 18bb23fc811f -r 500ce0b934e7 bash-completion.sh --- a/bash-completion.sh Thu Apr 15 20:45:10 2021 +0200 +++ b/bash-completion.sh Fri Apr 16 23:18:03 2021 +0200 @@ -27,12 +27,10 @@ "false" ) - if [[ "$w1" == "--list-xxx" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) - elif [[ "$w1" == "--list-zzz" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) + if [[ "$w1" == "--list-polygon-points" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) else OPTIONS=( - "--list-xxx" - "--list-zzz" + "--list-polygon-points" ) COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) fi