summaryrefslogtreecommitdiffstats
path: root/completions/clone_member
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--completions/clone_member25
1 files changed, 25 insertions, 0 deletions
diff --git a/completions/clone_member b/completions/clone_member
new file mode 100644
index 0000000..a3ca2b3
--- /dev/null
+++ b/completions/clone_member
@@ -0,0 +1,25 @@
+# mailman clone_member completion -*- shell-script -*-
+
+_clone_member()
+{
+ local cur prev words cword split
+ _init_completion -s || return
+
+ case $prev in
+ -l | --listname)
+ _xfunc list_lists _mailman_lists
+ return
+ ;;
+ esac
+
+ $split && return
+
+ if [[ $cur == -* ]]; then
+ COMPREPLY=($(compgen -W '--listname --remove --admin --quiet
+ --nomodify --help' -- "$cur"))
+ fi
+
+} &&
+ complete -F _clone_member clone_member
+
+# ex: filetype=sh