equal
deleted
inserted
replaced
33 "true" |
33 "true" |
34 "false" |
34 "false" |
35 ) |
35 ) |
36 |
36 |
37 if [[ "$w1" == "--relation" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
37 if [[ "$w1" == "--relation" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
38 elif [[ "$w1" == "--attribute" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
38 elif [[ "$w1" == "--queue" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
39 elif [[ "$w2" == "--attribute" ]]; then COMPREPLY=($(compgen -W "${DATA_TYPE[*]}" -- "$w0")) |
39 elif [[ "$w1" == "--message-count" && "x$w0" == "x" ]]; then COMPREPLY=("1") |
40 elif [[ "$w1" == "--read-types" ]]; then COMPREPLY=($(compgen -W "${READ_TYPES[*]}" -- "$w0")) |
|
41 else |
40 else |
42 OPTIONS=( |
41 OPTIONS=( |
43 "--relation" |
42 "--relation" |
44 "--attribute" |
43 "--queue" |
45 "--read-types" |
44 "--message-count" |
46 ) |
45 ) |
47 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
46 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
48 fi |
47 fi |
49 } |
48 } |
50 |
49 |