]> git.ipfire.org Git - thirdparty/util-linux.git/blob - bash-completion/cal
su: use lib/pty-session.c code for --pty
[thirdparty/util-linux.git] / bash-completion / cal
1 _cal_module()
2 {
3 local cur prev OPTS
4 COMPREPLY=()
5 cur="${COMP_WORDS[COMP_CWORD]}"
6 case $cur in
7 -*)
8 OPTS=" --one
9 --three
10 --months
11 --sunday
12 --span
13 --monday
14 --julian
15 --year
16 --twelve
17 --week
18 --color=auto
19 --color=always
20 --color=never
21 --version
22 --help"
23 COMPREPLY=( $(compgen -W "${OPTS[*]}" -- $cur) )
24 return 0
25 ;;
26 esac
27 return 0
28 }
29 complete -F _cal_module cal