diff options
| author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2015-02-06 23:06:07 +0900 |
|---|---|---|
| committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2015-02-06 23:06:07 +0900 |
| commit | 2810317ae2f2f96d06add76c17510a90f2ea3f62 (patch) | |
| tree | 5bfacc3a2705eb6f8c9b894fb7c2c2dccefde15c | |
| parent | users/19825: Clear statement about POSIX compatibility (diff) | |
| download | zsh-2810317ae2f2f96d06add76c17510a90f2ea3f62.tar zsh-2810317ae2f2f96d06add76c17510a90f2ea3f62.tar.gz zsh-2810317ae2f2f96d06add76c17510a90f2ea3f62.tar.bz2 zsh-2810317ae2f2f96d06add76c17510a90f2ea3f62.tar.lz zsh-2810317ae2f2f96d06add76c17510a90f2ea3f62.tar.xz zsh-2810317ae2f2f96d06add76c17510a90f2ea3f62.tar.zst zsh-2810317ae2f2f96d06add76c17510a90f2ea3f62.zip | |
34456: lopts should be initialized as an array
otherwise an empty element remains in lopts, which causes
a trouble when _arguments -- '*:' is called.
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | Completion/Base/Utility/_arguments | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,3 +1,7 @@ +2015-02-03 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> + + * 34456: _arguments: lopts should be initialized as an array + 2015-02-06 Peter Stephenson <p.stephenson@samsung.com> * users/19825: Doc/Zsh/manual.yo: clear statement that zsh is diff --git a/Completion/Base/Utility/_arguments b/Completion/Base/Utility/_arguments index d70c44259..1f35e8d43 100644 --- a/Completion/Base/Utility/_arguments +++ b/Completion/Base/Utility/_arguments @@ -26,7 +26,7 @@ if (( long )); then if (( ! ${(P)+name} )); then local iopts sopts pattern tmpo dir cur cache - typeset -U lopts + typeset -Ua lopts cache=() |
