equal
deleted
inserted
replaced
28 ) |
28 ) |
29 |
29 |
30 if [[ "$w1" == "--list-input-devices" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
30 if [[ "$w1" == "--list-input-devices" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
31 elif [[ "$w1" == "--list-input-events" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
31 elif [[ "$w1" == "--list-input-events" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
32 elif [[ "$w1" == "--list-windows" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
32 elif [[ "$w1" == "--list-windows" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
|
33 elif [[ "$w1" == "--list-screens" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
33 else |
34 else |
34 OPTIONS=( |
35 OPTIONS=( |
35 "--list-input-devices" |
36 "--list-input-devices" |
36 "--list-input-events" |
37 "--list-input-events" |
37 "--list-windows" |
38 "--list-windows" |
|
39 "--list-screens" |
38 ) |
40 ) |
39 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
41 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
40 fi |
42 fi |
41 } |
43 } |
42 |
44 |