1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 16:40:24 +02:00

unposted: quote $@ in calls to _arguments

This commit is contained in:
Clint Adams 2001-05-21 14:44:48 +00:00
parent f6a219657f
commit 25b7d227bc
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2001-05-21 Clint Adams <clint@zsh.org>
* unposted: Completion/Unix/Type/_diff_options: quote $@
in calls to _arguments.
2001-05-21 Oliver Kiddle <opk@zsh.org>
* 14409: Completion/Zsh/Command/_set: make use of _arguments in _set

View file

@ -123,7 +123,7 @@ if [[ -n "$_is_gnu[$cmd]" ]]; then
'(--version)-v[output version info]' \
'(-v)--version[output version info]' \
'--help[help text]' \
$@
"$@"
else
_arguments \
"(-e -f)-c[output a context diff]" \
@ -131,5 +131,5 @@ else
"(-c -e)-f[output a reversed ed script]" \
'-b[skip trailing white spaces]' \
'-r[recursively compare subdirectories]' \
$@
"$@"
fi