equal
deleted
inserted
replaced
26 "true" |
26 "true" |
27 "false" |
27 "false" |
28 ) |
28 ) |
29 |
29 |
30 if [[ "$w1" == "--relation" && "x$w0" == "x" ]]; then COMPREPLY=("'.+'") |
30 if [[ "$w1" == "--relation" && "x$w0" == "x" ]]; then COMPREPLY=("'.+'") |
31 elif [[ "$w1" == "--print-types" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
31 elif [[ "$w1" == "--write-types" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
32 elif [[ "$w1" == "--print-relation-name" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
32 elif [[ "$w1" == "--write-relation-name" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
33 elif [[ "$w1" == "--print-record-count" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
33 elif [[ "$w1" == "--write-record-count" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
34 else |
34 else |
35 OPTIONS=( |
35 OPTIONS=( |
36 "--relation" |
36 "--relation" |
37 "--print-types" |
37 "--write-types" |
38 "--print-relation-name" |
38 "--write-relation-name" |
39 "--print-record-count" |
39 "--write-record-count" |
40 ) |
40 ) |
41 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
41 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
42 fi |
42 fi |
43 } |
43 } |
44 |
44 |