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 -h
9 --account --action --password --proxy --host --bash \
10 --user --debug --version --help" -- ${cur}) )
13 if [[ "${prev}" == "--host" ]] ; then
14 COMPREPLY=( $(compgen -W "twitter identica" -- ${cur} ) )
17 if [[ "${prev}" == "--action" ]] ; then
18 COMPREPLY=( $(compgen -W "friends public update user replies" -- ${cur} ) )