about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <p.w.stephenson@ntlworld.com>2014-01-05 18:11:31 +0000
committerPeter Stephenson <p.w.stephenson@ntlworld.com>2014-01-05 18:11:31 +0000
commited01d710bfd591dcac5777b227240a6feef38219 (patch)
tree2ba2ff33908c15ce3a29658cdd746cc90f4ccb4e
parentff650ada052fccaf4b5a7bbc3b689fa20c2378ea (diff)
downloadzsh-ed01d710bfd591dcac5777b227240a6feef38219.tar.gz
zsh-ed01d710bfd591dcac5777b227240a6feef38219.tar.xz
zsh-ed01d710bfd591dcac5777b227240a6feef38219.zip
unposted but c.f. 32231: $line from _arguments doesn't include command
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/compsys.yo10
2 files changed, 8 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 9299afc70..c0331ec8a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2014-01-05  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
+	* unposted but c.f. 32231: Doc/Zsh/compsys.yo: the parameter
+        'line' doesn't include the original command.
+
 	* Jun T: 32231: Completion/Unix/Command/_chmod: was confused by
 	options before the mode argument.
 
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo
index d42ad9779..d66006d36 100644
--- a/Doc/Zsh/compsys.yo
+++ b/Doc/Zsh/compsys.yo
@@ -1,4 +1,4 @@
-texinode(Completion System)(Completion Using compctl)(Completion Widgets)(Top)
+exinode(Completion System)(Completion Using compctl)(Completion Widgets)(Top)
 chapter(Completion System)
 cindex(completion system)
 cindex(completion, programmable)
@@ -3824,10 +3824,10 @@ elements of the array.
 )
 enditem()
 
-During the performance of the action the array `tt(line)'
-will be set to the command name and normal arguments from the command
-line, i.e. the words from the command line excluding all options
-and their arguments.  Options are stored in the associative array
+During the performance of the action the array `tt(line)' will be set to
+the normal arguments from the command line, i.e. the words from the
+command line after the command name excluding all options and their
+arguments.  Options are stored in the associative array
 `tt(opt_args)' with option names as keys and their arguments as
 the values.  For options that have more than one argument these are
 given as one string, separated by colons.  All colons in the original