about summary refs log tree commit diff
path: root/Completion
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-05-21 14:44:48 +0000
committerClint Adams <clint@users.sourceforge.net>2001-05-21 14:44:48 +0000
commit25b7d227bcfe4e816d43a0965d42f002e31bb5f6 (patch)
treeea28754baf4a1d20b7cd68f57f5e384f5527f4b0 /Completion
parentf6a219657fb694bda7c5b6a2a9c5fb088c0e532f (diff)
downloadzsh-25b7d227bcfe4e816d43a0965d42f002e31bb5f6.tar.gz
zsh-25b7d227bcfe4e816d43a0965d42f002e31bb5f6.tar.xz
zsh-25b7d227bcfe4e816d43a0965d42f002e31bb5f6.zip
unposted: quote $@ in calls to _arguments
Diffstat (limited to 'Completion')
-rw-r--r--Completion/Unix/Type/_diff_options4
1 files changed, 2 insertions, 2 deletions
diff --git a/Completion/Unix/Type/_diff_options b/Completion/Unix/Type/_diff_options
index 7d1ce5a31..3526fc984 100644
--- a/Completion/Unix/Type/_diff_options
+++ b/Completion/Unix/Type/_diff_options
@@ -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