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 --- Completion/Linux/Command/_modutils | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Completion/Linux') 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