equal
deleted
inserted
replaced
26 "string" |
26 "string" |
27 "integer" |
27 "integer" |
28 "boolean" |
28 "boolean" |
29 ) |
29 ) |
30 |
30 |
31 READ_TYPES=( |
31 BOOLEAN_VALUES=( |
32 "auto" |
|
33 "true" |
32 "true" |
34 "false" |
33 "false" |
35 ) |
34 ) |
36 |
35 |
37 if [[ "$w1" == "--relation" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
36 if [[ "$w1" == "--relation" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
|
37 elif [[ "$w1" == "--unlink-on-close" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
38 elif [[ "$w1" == "--queue" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
38 elif [[ "$w1" == "--queue" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
39 elif [[ "$w1" == "--message-count" && "x$w0" == "x" ]]; then COMPREPLY=("1") |
39 elif [[ "$w1" == "--message-count" && "x$w0" == "x" ]]; then COMPREPLY=("1") |
40 else |
40 else |
41 OPTIONS=( |
41 OPTIONS=( |
42 "--relation" |
42 "--relation" |
|
43 "--unlink-on-close" |
43 "--queue" |
44 "--queue" |
44 "--message-count" |
45 "--message-count" |
45 ) |
46 ) |
46 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
47 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
47 fi |
48 fi |