diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Unix/Type/_diff_options | 4 |
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 |