~ubuntu-branches/debian/sid/bash-completion/sid

« back to all changes in this revision

Viewing changes to completions/list_admins

  • Committer: Package Import Robot
  • Author(s): David Paleino
  • Date: 2012-01-08 00:29:16 UTC
  • mfrom: (1.2.1) (13.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20120108002916-2j06erdwsymyqn39
Tags: 1:1.99-1
* Uploading to unstable
* New upstream pre-2.x snapshot
  - correctly list purgeable packages for dpkg --listfiles and dpkg
    --purge (Closes: #647684)
  - fix bash_completion paths in README (Closes: #647941)
  - _known_hosts_real: Handle more than two hostnames per known hosts
    line (Closes: #647352)
  - _known_hosts_real: Support > 1 files per *KnownHostsFile line
    (Closes: #650514)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# mailman list_admins completion                           -*- shell-script -*-
 
2
 
 
3
_list_admins()
 
4
{
 
5
    local cur prev words cword
 
6
    _init_completion || return
 
7
 
 
8
    if [[ "$cur" == -* ]]; then
 
9
        COMPREPLY=( $( compgen -W '--all-vhost --all --help' -- "$cur" ) )
 
10
    else
 
11
        _xfunc list_lists _mailman_lists
 
12
    fi
 
13
 
 
14
} &&
 
15
complete -F _list_admins list_admins
 
16
 
 
17
# ex: ts=4 sw=4 et filetype=sh