X-Git-Url: https://git.toastfreeware.priv.at/gregoa/bti.git/blobdiff_plain/c91c4efc9683c0ee5b40ec072cccb0ffe6f94ae0..c1254c229cf3c239a406cb063a13b17961da15b0:/bti-bashcompletion diff --git a/bti-bashcompletion b/bti-bashcompletion index 79e5cda..e627ae2 100644 --- a/bti-bashcompletion +++ b/bti-bashcompletion @@ -5,9 +5,10 @@ _bti() cur="${COMP_WORDS[COMP_CWORD]}" prev="${COMP_WORDS[COMP_CWORD-1]}" if [[ "${cur}" == -* ]] ; then - COMPREPLY=( $(compgen -W "-a -A -p -P -H -b -d -v -h + COMPREPLY=( $(compgen -W "-a -A -p -P -H -b -d -v -s -n -g -h -r --account --action --password --proxy --host --bash \ - --debug --version --help" -- ${cur}) ) + --user --debug --dry-run --shrink-urls --page --version --verbose \ + --help --replyto --retweet" -- ${cur}) ) fi if [[ "${prev}" == "--host" ]] ; then @@ -15,7 +16,7 @@ _bti() fi if [[ "${prev}" == "--action" ]] ; then - COMPREPLY=( $(compgen -W "friends public update" -- ${cur} ) ) + COMPREPLY=( $(compgen -W "friends public update user replies" -- ${cur} ) ) fi return 0