equal
deleted
inserted
replaced
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" == "--enable-sections" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
31 elif [[ "$w1" == "--enable-sections" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
32 elif [[ "$w1" == "--enable-subkeys" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
32 elif [[ "$w1" == "--enable-sub-keys" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
33 elif [[ "$w1" == "--enable-comments" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
33 elif [[ "$w1" == "--enable-comments" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
34 elif [[ "$w1" == "--enable-line-numbers" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
34 elif [[ "$w1" == "--enable-line-numbers" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
35 elif [[ "$w1" == "--enable-event-numbers" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
35 elif [[ "$w1" == "--enable-event-numbers" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
36 else |
36 else |
37 OPTIONS=( |
37 OPTIONS=( |
38 "--relation" |
38 "--relation" |
39 "--enable-sections" |
39 "--enable-sections" |
40 "--enable-subkeys" |
40 "--enable-sub-keys" |
41 "--enable-comments" |
41 "--enable-comments" |
42 "--enable-line-numbers" |
42 "--enable-line-numbers" |
43 "--enable-event-numbers" |
43 "--enable-event-numbers" |
44 ) |
44 ) |
45 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
45 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |