summary refs log tree commit diff
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
parentf6a219657fb694bda7c5b6a2a9c5fb088c0e532f (diff)
downloadzsh-25b7d227bcfe4e816d43a0965d42f002e31bb5f6.tar.gz
zsh-25b7d227bcfe4e816d43a0965d42f002e31bb5f6.tar.xz
zsh-25b7d227bcfe4e816d43a0965d42f002e31bb5f6.zip
unposted: quote $@ in calls to _arguments
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Unix/Type/_diff_options4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d7a5e6ab8..d8a05e88b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
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