]> git.ipfire.org Git - thirdparty/util-linux.git/blob - bash-completion/col
setterm: disallow "default" for --ulcolor/--hbcolor
[thirdparty/util-linux.git] / bash-completion / col
1 _col_module()
2 {
3 local cur prev OPTS
4 COMPREPLY=()
5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
7 case $prev in
8 '-l'|'--lines')
9 COMPREPLY=( $(compgen -W "number" -- $cur) )
10 return 0
11 ;;
12 '-H'|'--help'|'-V'|'--version')
13 return 0
14 ;;
15 esac
16 OPTS="--no-backspaces
17 --fine
18 --pass
19 --tabs
20 --spaces
21 --lines
22 --version
23 --help"
24 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
25 return 0
26 }
27 complete -F _col_module col