cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
if [[ "${cur}" == -* ]] ; then
- COMPREPLY=( $(compgen -W "-a -p -P -H -b -d -v -h --account \
- --password --proxy --host --bash --debug --version \
+ COMPREPLY=( $(compgen -W "-a -A -p -P -H -b -d -v -s -n -g -h
+ --account --action --password --proxy --host --bash \
+ --user --debug --dry-run --shrink-urls --page --version --verbose \
--help" -- ${cur}) )
fi
COMPREPLY=( $(compgen -W "twitter identica" -- ${cur} ) )
fi
+ if [[ "${prev}" == "--action" ]] ; then
+ COMPREPLY=( $(compgen -W "friends public update user replies" -- ${cur} ) )
+ fi
+
return 0
}