equal
deleted
inserted
replaced
32 "true" |
32 "true" |
33 "false" |
33 "false" |
34 ) |
34 ) |
35 |
35 |
36 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")) |
37 elif [[ "$w1" == "--stream" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
38 elif [[ "$w1" == "--queue" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
|
39 else |
38 else |
40 OPTIONS=( |
39 OPTIONS=( |
41 "--relation" |
40 "--relation" |
42 "--unlink-on-close" |
41 "--stream" |
43 "--queue" |
|
44 ) |
42 ) |
45 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
43 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
46 fi |
44 fi |
47 } |
45 } |
48 |
46 |