summaryrefslogtreecommitdiff
path: root/completions/list_admins
diff options
context:
space:
mode:
authorDavid Paleino <dapal@debian.org>2011-11-03 12:32:52 +0100
committerDavid Paleino <dapal@debian.org>2011-11-03 12:32:52 +0100
commit2c8171c38d87ddef31c92a76547d3fdf773a1337 (patch)
tree5e720d5a06ead72ed55454bf6647a712a761ed91 /completions/list_admins
parent9920a8faedf704420571d8072ccab27e9dac40ba (diff)
downloadbash-completion-2c8171c38d87ddef31c92a76547d3fdf773a1337.tar.gz
Imported Upstream version 1.90upstream/1.90
Diffstat (limited to 'completions/list_admins')
-rw-r--r--completions/list_admins17
1 files changed, 17 insertions, 0 deletions
diff --git a/completions/list_admins b/completions/list_admins
new file mode 100644
index 00000000..6c05a7d3
--- /dev/null
+++ b/completions/list_admins
@@ -0,0 +1,17 @@
+# mailman list_admins completion -*- shell-script -*-
+
+_list_admins()
+{
+ local cur prev words cword
+ _init_completion || return
+
+ if [[ "$cur" == -* ]]; then
+ COMPREPLY=( $( compgen -W '--all-vhost --all --help' -- "$cur" ) )
+ else
+ _xfunc list_lists _mailman_lists
+ fi
+
+} &&
+complete -F _list_admins list_admins
+
+# ex: ts=4 sw=4 et filetype=sh