about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorFrank Terbeck <ft@bewatermyfriend.org>2016-03-15 23:35:40 +0100
committerFrank Terbeck <ft@bewatermyfriend.org>2016-03-16 00:38:37 +0100
commit5deb57714fc799918552b22f077cc4b1daf1f68f (patch)
treece6b450717bc0396336eca1a28305916723226c8 /ChangeLog
parentbd06982b2354083db139b3ca65f999717a0c0b9c (diff)
downloadzsh-5deb57714fc799918552b22f077cc4b1daf1f68f.tar.gz
zsh-5deb57714fc799918552b22f077cc4b1daf1f68f.tar.xz
zsh-5deb57714fc799918552b22f077cc4b1daf1f68f.zip
38161: _tmux: Use a colon to terminate options to _arguments itself
In users/21384 it was reported that

  % tmux new-session -<tab>

...does not offer -A as a candidate for completion even though the
option is listed in the involved helper function _tmux-new-session().

-A is actually an option the _arguments function uses itself. The
documentation states:

    To avoid ambiguity, all options to _arguments itself may
    be separated from the spec forms by a single colon.

This commit changes each _arguments call to include the optional
colon, so problems like this are prevented now and hopefully in
the future.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 956b145e6..787e993c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-03-16  Frank Terbeck  <ft@bewatermyfriend.org>
+
+	* 38161: Completion/Unix/Command/_tmux: _tmux: Use a colon to
+	terminate options to _arguments itself
+
 2016-03-15  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 38155: Doc/Zsh/compsys.yo: docs: compsys: Clarify documentation