about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2008-10-07 07:41:43 +0000
committerClint Adams <clint@users.sourceforge.net>2008-10-07 07:41:43 +0000
commit38b8cdbcdfa217ad7e358c8d145a58bce08f2251 (patch)
tree00366944821bd8dd46d8f10ae4f2c0d0a7174cc4
parent332c337e4dfb3fc51778f6c7d5374d89f07e8d2f (diff)
downloadzsh-38b8cdbcdfa217ad7e358c8d145a58bce08f2251.tar.gz
zsh-38b8cdbcdfa217ad7e358c8d145a58bce08f2251.tar.xz
zsh-38b8cdbcdfa217ad7e358c8d145a58bce08f2251.zip
25820: add the option --field of modinfo.
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Linux/Command/_modutils2
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 8c060d9a8..1762d44b4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-07  Clint Adams  <clint@zsh.org>
+
+	* Jörg Sommer: 25820: Completion/Linux/Command/_modutils: add the
+	option --field of modinfo.
+
 2008-10-06  Clint Adams  <clint@zsh.org>
 
 	* 25818: Completion/compinstall: compinstall data loss typo fix
diff --git a/Completion/Linux/Command/_modutils b/Completion/Linux/Command/_modutils
index e03b47184..2ba43a722 100644
--- a/Completion/Linux/Command/_modutils
+++ b/Completion/Linux/Command/_modutils
@@ -18,6 +18,8 @@ case "$service" in
       '(-)'{-l,--license}"[display the module's license]" \
       '(-)'{-n,--filename}"[display the module's filename]" \
       '(-)'{-p,--parameters}'[display the typed parameters that a module may support]' \
+      '(-)'{-F,--field}"[display only selected module's information]:module_field:(
+        alias author depends description filename license parm)" \
       '1:module file:->all_modules' && ret=0
   ;;