equal
deleted
inserted
replaced
41 if [[ "$w1" == "--client" && "x$w0" == "x" ]]; then COMPREPLY=("'relpipe-in-jack'") |
41 if [[ "$w1" == "--client" && "x$w0" == "x" ]]; then COMPREPLY=("'relpipe-in-jack'") |
42 elif [[ "$w1" == "--port" && "x$w0" == "x" ]]; then COMPREPLY=("'midi-in'") |
42 elif [[ "$w1" == "--port" && "x$w0" == "x" ]]; then COMPREPLY=("'midi-in'") |
43 elif [[ "$w1" == "--connect-to" ]]; then COMPREPLY=($(compgen -W "$(_relpipe_in_jack_completion_ports)" -- "$w0")) |
43 elif [[ "$w1" == "--connect-to" ]]; then COMPREPLY=($(compgen -W "$(_relpipe_in_jack_completion_ports)" -- "$w0")) |
44 elif [[ "$w1" == "--required-connections" && "x$w0" == "x" ]]; then COMPREPLY=("0") |
44 elif [[ "$w1" == "--required-connections" && "x$w0" == "x" ]]; then COMPREPLY=("0") |
45 elif [[ "$w1" == "--list-ports" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
45 elif [[ "$w1" == "--list-ports" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
|
46 elif [[ "$w1" == "--list-connections" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
46 elif [[ "$w1" == "--list-midi-messages" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
47 elif [[ "$w1" == "--list-midi-messages" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
47 else |
48 else |
48 OPTIONS=( |
49 OPTIONS=( |
49 "--client" |
50 "--client" |
50 "--port" |
51 "--port" |
51 "--connect-to" |
52 "--connect-to" |
52 "--required-connections" |
53 "--required-connections" |
53 "--list-ports" |
54 "--list-ports" |
|
55 "--list-connections" |
54 "--list-midi-messages" |
56 "--list-midi-messages" |
55 ) |
57 ) |
56 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
58 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
57 fi |
59 fi |
58 } |
60 } |