about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Debian/Command/_members9
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index af0ba2ddd..23d40e966 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-12-08  Clint Adams  <clint@zsh.org>
+
+	* 24187: Completion/Unix/Command/_members: completion for members.
+
 2007-12-07  Clint Adams  <clint@zsh.org>
 
 	* 24174: Completion/Unix/Command/_cut: Oliver's deuglification
diff --git a/Completion/Debian/Command/_members b/Completion/Debian/Command/_members
new file mode 100644
index 000000000..ffe3d4d42
--- /dev/null
+++ b/Completion/Debian/Command/_members
@@ -0,0 +1,9 @@
+#compdef members
+
+_arguments \
+  '(-a --all)'{-a,--all}'[show all group members on one line]' \
+  '(-p --primary)'{-p,--primary}'[show only primary group members]' \
+  '(-s --secondary)'{-s,--secondary}'[show only secondary group members]' \
+  '(-t --two-lines)'{-t,--two-lines}'[show only primary/secondary across two lines]' \
+  '(-h --help)'{-h,--help}'[show help]' \
+  ':group:_groups'