1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-21 00:01:26 +01:00

Jörg Sommer: 25821: return 0 if a modules parameter was completed.

This commit is contained in:
Clint Adams 2008-10-07 07:43:35 +00:00
parent 38b8cdbcdf
commit 26616e1a23
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2008-10-07 Clint Adams <clint@zsh.org>
* Jörg Sommer: 25821: Completion/Linux/Command/_modutils: return 0
if a modules parameter was completed.
* Jörg Sommer: 25820: Completion/Linux/Command/_modutils: add the
option --field of modinfo.

View file

@ -96,7 +96,7 @@ case "$state" in
_message -e value 'parameter value'
else
_values 'module parameter' \
${(f)^"$(_call_program module_parameter modinfo -F parm "$words[2]" 2>/dev/null)"//:/\=[}\]
${(f)^"$(_call_program module_parameter modinfo -F parm "$words[2]" 2>/dev/null)"//:/\=[}\] && ret=0
fi
;;
esac