From a2f158f531cc46217f3a1f1acd7703369279ca59 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 1 Sep 2008 17:13:32 +0000 Subject: Jörg Sommer: 25572: completer module parameters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ChangeLog | 5 +++++ Completion/Linux/Command/_modutils | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 05a2e57e4..c1c8d7e61 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-09-01 Peter Stephenson + + * Jörg Sommer: 25572: Completion/Linux/Command/_modutils: + complete module parameters. + 2008-08-31 Peter Stephenson * 25571: Src/lex.c, Src/parse.c, Test/.distfiles, diff --git a/Completion/Linux/Command/_modutils b/Completion/Linux/Command/_modutils index cc7034f8c..732290363 100644 --- a/Completion/Linux/Command/_modutils +++ b/Completion/Linux/Command/_modutils @@ -85,7 +85,8 @@ case "$state" in if compset -P '*='; then _message -e value 'parameter value' else - _message -e parameter 'module parameter' + _values 'module parameter' \ + ${(f)^"$(_call_program module_parameter modinfo -F parm "$words[2]" 2>/dev/null)"//:/\=[}\] fi ;; esac -- cgit 1.4.1