Parent Directory
|
Revision Log
* New upstream release: includes fixes for - "the --dry-run option has no effect (tweets get posted anyway) with OAuth" (closes: #608608) - "--replyto doesn't work with OAuth" (closes: #608112) * Drop patch 0001-Fixing-Identi.ca-s-OAuth-request_token-URI.patch, applied upstream.
1 | gregoa | 1530 | _bti() |
2 | { | ||
3 | local cur prev | ||
4 | COMPREPLY=() | ||
5 | cur="${COMP_WORDS[COMP_CWORD]}" | ||
6 | prev="${COMP_WORDS[COMP_CWORD-1]}" | ||
7 | if [[ "${cur}" == -* ]] ; then | ||
8 | gregoa | 2235 | COMPREPLY=( $(compgen -W "-a -A -p -P -H -b -d -v -s -n -g -h -r |
9 | gregoa | 1623 | --account --action --password --proxy --host --bash \ |
10 | gregoa | 1741 | --user --debug --dry-run --shrink-urls --page --version --verbose \ |
11 | gregoa | 2338 | --help --replyto --retweet" -- ${cur}) ) |
12 | gregoa | 1530 | fi |
13 | |||
14 | if [[ "${prev}" == "--host" ]] ; then | ||
15 | COMPREPLY=( $(compgen -W "twitter identica" -- ${cur} ) ) | ||
16 | fi | ||
17 | |||
18 | gregoa | 1623 | if [[ "${prev}" == "--action" ]] ; then |
19 | COMPREPLY=( $(compgen -W "friends public update user replies" -- ${cur} ) ) | ||
20 | fi | ||
21 | |||
22 | gregoa | 1530 | return 0 |
23 | } | ||
24 | |||
25 | complete -F _bti bti |
ViewVC Help | |
Powered by ViewVC 1.1.26 |