5 cur="${COMP_WORDS[COMP_CWORD]}"
6 prev="${COMP_WORDS[COMP_CWORD-1]}"
7 if [[ "${cur}" == -* ]] ; then
8 COMPREPLY=( $(compgen -W "-a -A -p -P -H -b -d -v -s -n -g -h -r
9 --account --action --password --proxy --host --bash \
10 --user --debug --dry-run --shrink-urls --page --version --verbose \
11 --help --replyto --retweet" -- ${cur}) )
14 if [[ "${prev}" == "--host" ]] ; then
15 COMPREPLY=( $(compgen -W "twitter identica" -- ${cur} ) )
18 if [[ "${prev}" == "--action" ]] ; then
19 COMPREPLY=( $(compgen -W "friends public update user replies direct" -- ${cur} ) )