/[debian]/bti/branches/upstream/current/bti-bashcompletion
ViewVC logotype

Diff of /bti/branches/upstream/current/bti-bashcompletion

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2232 by gregoa, Thu May 28 15:19:44 2009 UTC revision 2233 by gregoa, Wed Aug 18 15:33:14 2010 UTC
# Line 5  _bti() Line 5  _bti()
5          cur="${COMP_WORDS[COMP_CWORD]}"          cur="${COMP_WORDS[COMP_CWORD]}"
6          prev="${COMP_WORDS[COMP_CWORD-1]}"          prev="${COMP_WORDS[COMP_CWORD-1]}"
7          if [[ "${cur}" == -* ]] ; then          if [[ "${cur}" == -* ]] ; then
8                  COMPREPLY=( $(compgen -W "-a -A -p -P -H -b -d -v -s -n -g -h                  COMPREPLY=( $(compgen -W "-a -A -p -P -H -b -d -v -s -n -g -h -r
9                          --account --action --password --proxy --host --bash \                          --account --action --password --proxy --host --bash \
10                          --user --debug --dry-run --shrink-urls --page --version --verbose \                          --user --debug --dry-run --shrink-urls --page --version --verbose \
11                          --help" -- ${cur}) )                          --help --replyto" -- ${cur}) )
12          fi          fi
13    
14          if [[ "${prev}" == "--host" ]] ; then          if [[ "${prev}" == "--host" ]] ; then

Legend:
Removed from v.2232  
changed lines
  Added in v.2233

  ViewVC Help
Powered by ViewVC 1.1.26