equal
deleted
inserted
replaced
34 "horizontal-only" |
34 "horizontal-only" |
35 "ascii" |
35 "ascii" |
36 ) |
36 ) |
37 |
37 |
38 COLOR_SCHEMES=( |
38 COLOR_SCHEMES=( |
39 "green-screen" |
39 "greenish" |
|
40 "amberish" |
40 "monochrome" |
41 "monochrome" |
41 "midnight" |
42 "midnight" |
42 ) |
43 ) |
43 |
44 |
44 if [[ "$w1" == "--relation" && "x$w0" == "x" ]]; then COMPREPLY=("'.+'") |
45 if [[ "$w1" == "--relation" && "x$w0" == "x" ]]; then COMPREPLY=("'.+'") |
45 elif [[ "$w1" == "--write-types" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
46 elif [[ "$w1" == "--write-types" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
46 elif [[ "$w1" == "--write-relation-name" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
47 elif [[ "$w1" == "--write-relation-name" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
47 elif [[ "$w1" == "--write-record-count" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
48 elif [[ "$w1" == "--write-record-count" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0")) |
48 elif [[ "$w1" == "--table-style" ]]; then COMPREPLY=($(compgen -W "${TABLE_STYLES[*]}" -- "$w0")) |
49 elif [[ "$w1" == "--table-style" ]]; then COMPREPLY=($(compgen -W "${TABLE_STYLES[*]}" -- "$w0")) |
49 elif [[ "$w1" == "--color-scheme" ]]; then COMPREPLY=($(compgen -W "${COLOR_SCHEMES[*]}" -- "$w0")) |
50 elif [[ "$w1" == "--color-scheme" ]]; then COMPREPLY=($(compgen -W "${COLOR_SCHEMES[*]}" -- "$w0")) |
50 else |
51 else |
51 OPTIONS=( |
52 OPTIONS=( |
52 "--relation" |
53 "--relation" |
53 "--write-types" |
54 "--write-types" |
54 "--write-relation-name" |
55 "--write-relation-name" |