equal
deleted
inserted
replaced
31 "relation" |
31 "relation" |
32 "attribute" |
32 "attribute" |
33 "value" |
33 "value" |
34 ) |
34 ) |
35 |
35 |
36 if [[ "$w1" == "--relation" && "x$w0" == "x" ]]; then COMPREPLY=("'.*'") |
36 MODIFY_TARGETS=( |
37 elif [[ "$w1" == "--attribute" && "x$w0" == "x" ]]; then COMPREPLY=("'.*'") |
37 "relation-name" |
38 elif [[ "$w1" == "--value" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
38 "attribute-name" |
39 elif [[ "$w1" == "--replacement" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
39 "value" |
40 elif [[ "$w1" == "--modify" ]]; then COMPREPLY=($(compgen -W "${ENTITY_VALUES[*]}" -- "$w0")) |
40 ) |
|
41 |
|
42 if [[ "$w1" == "--relation" && "x$w0" == "x" ]]; then COMPREPLY=("'.+'") |
|
43 elif [[ "$w1" == "--attribute" && "x$w0" == "x" ]]; then COMPREPLY=("'.+'") |
|
44 elif [[ "$w1" == "--value" && "x$w0" == "x" ]]; then COMPREPLY=("'.+'") |
|
45 elif [[ "$w1" == "--replacement" && "x$w0" == "x" ]]; then COMPREPLY=("'\$0'") |
|
46 elif [[ "$w1" == "--modify" ]]; then COMPREPLY=($(compgen -W "${MODIFY_TARGETS[*]}" -- "$w0")) |
41 elif [[ "$w1" == "--case-sensitive" ]]; then COMPREPLY=($(compgen -W "${ENTITY_VALUES[*]}" -- "$w0")) |
47 elif [[ "$w1" == "--case-sensitive" ]]; then COMPREPLY=($(compgen -W "${ENTITY_VALUES[*]}" -- "$w0")) |
42 elif [[ "$w2" == "--case-sensitive" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
48 elif [[ "$w2" == "--case-sensitive" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
43 elif [[ "$w1" == "--invert-match" ]]; then COMPREPLY=($(compgen -W "${ENTITY_VALUES[*]}" -- "$w0")) |
49 elif [[ "$w1" == "--invert-match" ]]; then COMPREPLY=($(compgen -W "${ENTITY_VALUES[*]}" -- "$w0")) |
44 elif [[ "$w2" == "--invert-match" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
50 elif [[ "$w2" == "--invert-match" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
45 else |
51 else |